This is an old revision of the document!


Web

Bootstrap

Bootstrap5

What's New
  • 6 breakpoints: xs, sm, md, lg, xl, xxl
  • Gutter classes: .g-*, .gx-* and .gy-* (inclduing .g-0)
  • Negative margin (disabled by default): .mn-*
  • …-left and …-right are renamed to …-start and …-end (to cope with RTL languages)
Other useful things to know
  • role="button" to change cursor into pointer for an element (not needed for <button>)
  • responsive images: .img-fluid
  • 1px border around images: .img-thumbnail