Bootstrap

Grid Classes

The Bootstrap 5 grid system has six classes:

The classes above can be combined to create more dynamic and flexible layouts.

Tip: Each class scales up, so if you want to set the same widths for sm and md, you only need to specify sm.