Mobile-first by default

A layout that responds to its content

Start with a readable single column. Add columns only when the text, cards, and navigation have enough room to breathe.

See how it works
A website preview shown at phone, tablet, and desktop sizes

Practical guide

Build from the smallest useful layout

The base CSS handles narrow viewports without a media query. Flexible widths and a fluid image prevent horizontal scrolling, while Grid and Flexbox manage alignment.

Three responsive building blocks

01

Fluid foundation

Relative widths and a centered maximum keep lines comfortable without fixing the page to one screen size.

02

Flexible layout

Grid creates page columns. Flexbox aligns smaller one-dimensional groups such as navigation and labels.

03

Responsive media

The image keeps its intrinsic ratio and never grows wider than its container.