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-togglebecamedata-bs-toggle(all data attributes havebs).- Left and right became start and end:
ml-2toms-2,text-lefttotext-start,float-righttofloat-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 |
|---|
| Bootstrap Introduction |
| Bootstrap Get Started |
| Bootstrap Setup and Installation |
| Migrating from Bootstrap 4 to Bootstrap 5 |
| Bootstrap Cheat Sheet |
| Exercises & Assignments |
|---|
| No Content Found. |