Differences Between Bootstrap 5 and Bootstrap 4
| Feature | Bootstrap 4 | Bootstrap 5 |
|---|---|---|
| jQuery Dependency | Required | Removed (pure JavaScript) |
| Grid System | Up to xl |
New xxl tier added |
| Gutter System | Used .gutter classes |
Replaced with .g-* utilities |
| RTL Support | Not available | Built-in RTL support |
| Utility API | Limited utilities | Custom utility API introduced |
| Form Controls | Basic styling | Completely redesigned, more consistent |
| CSS Custom Properties | Mostly SCSS variables | Widespread use of CSS variables |
| New Components | No accordion or offcanvas |
New components like accordion, offcanvas, placeholder |
| Icons | None included | Introduced Bootstrap Icons (separate package) |
| Internet Explorer Support | Supports IE10 & IE11 | No IE support |
| Responsive Font Sizes | Optional (manual setup) | Enabled by default using RFS |
| Custom File Input | Used custom classes | Replaced with native file input styling |


