Module 02 • Grid Foundations

Mobile-First Breakpoints & 12-Column Flexbox Engine

Resize your browser viewport from 375px (xs) up to 1440px (xxl) to inspect how .container, .row (display: flex; flex-wrap: wrap;), and .col-* classes reflow elements without custom @media queries.

1. Equal-Width Flexbox Auto-Columns (.col = flex: 1 0 0%)

Auto Column 1 .col (33.33% width)
Auto Column 2 .col (33.33% width)
Auto Column 3 .col (33.33% width)

2. Mobile-First Stacking (.col-12 .col-md-6 .col-lg-3)

KPI Metric 01 xs: 12 • md: 6 • lg: 3
KPI Metric 02 xs: 12 • md: 6 • lg: 3
KPI Metric 03 xs: 12 • md: 6 • lg: 3
KPI Metric 04 xs: 12 • md: 6 • lg: 3

3. Asymmetric 8 / 4 Split (.col-12 .col-lg-8 + .col-12 .col-lg-4)

Primary Telemetry Canvas (.col-lg-8 • 66.67% on Desktop) Spans full width (col-12) on phones and tablets; locks into 8 of 12 columns at 992px (lg) and wider.
Live Alert Sidebar (.col-lg-4 • 33.33% on Desktop) Stacks cleanly underneath below 992px; docks beside the primary canvas on laptops and desktops.

4. Flexbox Main-Axis Centering on .row (.justify-content-center)

Centered 6-Column Callout (.col-12 .col-md-8 .col-lg-6) Centered horizontally inside a 12-column .row without empty spacer divs or offset hacks.