|
Extra small <576px |
Small ≥576px |
Medium ≥768px |
Large ≥992px |
Extra large ≥1200px |
Extra extra large ≥1400px |
|
|---|---|---|---|---|---|---|
| Grid behavior | Horizontal at all times | Collapsed to start, horizontal above breakpoints | ||||
| Max container width | None (auto) | 540px | 720px | 960px | 1140px | 1320px |
| Class prefix | .col- |
.col-sm- |
.col-md- |
.col-lg- |
.col-xl- |
.col-xxl- |
| # of columns | 12 | |||||
| Gutter width | 1.5rem (.75rem on left and right) | |||||
| Nestable | Yes | |||||
| Offsets | Yes | |||||
| Column ordering | Yes | |||||
You may use predefined grid classes. Using .col-md-* you can set the grid system.
You can use the align-items-* class
to set the vertical alignment.
You can use the justify-content-* class
to set the horizontal alignment.
To nest your content with the default grid, add a new.row and set
of .col-sm-* columns within an existing .col-sm-* column.
Using .order class, you can set the order position.
You can offset the grid column using .offset-* grid class.