Resize screen to display three equal-width columns, on all devices and screen widths.
Resize screen to display four equal-width columns, on all devices and screen widths.
Auto-layout for flexbox grid columns also means you can set the width of one column and have the sibling columns automatically resize around it.
Use col-{breakpoint}-auto classes to size columns based on the natural width of their content.
Resize the browser window to see the effect.
The columns will automatically stack on top of each other when the screen is less than 576px wide.
Resize the browser window to see the effect.
The columns will automatically stack on top of each other when the screen is less than 576px wide.
Using a single set of col-sm-* classes, you can create a basic grid system that starts out stacked and becomes horizontal at the small breakpoint (sm).
To have columns not simply stack in some grid tiers, use a combination of different classes for each tier as needed.
Use the responsive .row-cols-* classes to quickly set the number of columns that best render your content and layout.