Interactive practice layouts based entirely on the official Bootstrap Grid documentation.
For example, here are two grid layouts that apply to every device and viewport, from xs to xl.
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.
Bootstrap’s grid includes five tiers of predefined classes for building complex responsive layouts.
Using a single set of .col-sm-* classes, you can create a basic grid system that starts stacked on extra small devices before becoming horizontal on desktop (small) devices.
Don’t want your columns to simply stack in some grid tiers? Use a combination of different classes for each tier as needed.
Use flexbox alignment utilities to vertically and horizontally align columns.
Use .order- classes for controlling the visual order of your content.