Equal columns
Three .col-md-4 columns; they stack below the md breakpoint.
The 12-column grid
Twelve .col-1 columns — the widths sum to the row.
Halves, thirds, quarters
Auto-layout & .col-auto
.col shares remaining space; .col-auto is content-width.
Offsets
Ordering
Source order is A, B, C — displayed order is set by .order-*.
Gutters & .g-0
Default row, then .g-0. Bootstrap 5 also adds
.g-*, .gx-* and .gy-* (0–5) for
graduated gutter widths — .g-0 replaces Bootstrap 4's
.no-gutters.
Nested rows
Responsive visibility
Resize the window. Bootstrap 5 uses display utilities for this;
.hidden-*-up / .hidden-*-down from Bootstrap 4 no
longer exist.
Scoping / isolation
This is what this package provides over Bootstrap's official grid build. The markup
below is identical to the first example but sits
outside .bootstrap-wrapper — so it gets no grid layout
at all, and Bootstrap's selectors never touch the rest of your page.
Flex alignment new in 5.x
.justify-content-* and .align-items-* are included in
this build, along with .align-content-*, .align-self-*
and .flex-*, at every breakpoint. The Bootstrap 4 grid-only build
omitted them.