What are the main differences between Bootstrap 4 and Bootstrap 5?

  • jQuery is removed, and the JavaScript is plain JavaScript.
  • Internet Explorer is not supported.
  • data-toggle became data-bs-toggle (all data attributes have bs).
  • Left and right became start and end: ml-2 to ms-2, text-left to text-start, float-right to float-end.
  • New breakpoint xxl (1400px), a new offcanvas component, RTL support, and in 5.3 color modes (dark mode).
  • Removed: .form-group, .btn-block, .jumbotron, .media, .card-deck, input-group prepend and append.

See the full list in Migrating from Bootstrap 4 to 5.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.