Skip to content

Latest commit

 

History

History
89 lines (52 loc) · 1.82 KB

README.md

File metadata and controls

89 lines (52 loc) · 1.82 KB

you-might-not-need-bootstrap

Substitutes for things you usually will do with Bootstrap

Tooltips

Consider hint.css. It's a pure HTML/CSS solution:

<a
  href='...'
  class='submit-button hint--bottom'
  aria-label='Please check your entries before submitting!'>
  Submit
</a>

jQuery

Consider not using jQuery. Here's how you can do it with DOM:

Sticky headers

Consider headroom.js to make sticky headers.

headroom

Parallax

Consider rellax.

Datepicker

Consider:

Grids

Consider:

  • Jeet lets you build grids with Sass
  • Pure.css has grids. No Sass support though
  • ...consider writing your own classes as needed. Grids are easy to do with Flexbox!

Ajax

Use window.fetch instead of jQuery's $.get or $.ajax.

Toast notifications

Consider:

Moment.js

Moment.js is huge, bloated, and not very friendly to functional approaches. Consider instead:

Icons

Consider:

Modal

Consider:

React components

To use React components in your non-React site, consider: