A school for responsive and fluid design Breakpoints / clamp() / container queries Bench range 320 to 1440px

Design for everywidth at once.

This headline:clamp(46px, 9.6vw, 168px)renders at 0px right now

Stop designing three mockups. A layout is a range, not a set of screens. Grab the violet handle and drag: the page inside reflows with real container queries, and snaps at its breakpoints.

Start a project
Spring collection

Rooms that bend to the light.

Modular shelving that reflows like a good layout: one system, any wall, every width.

Shop the rangeLookbook
01 / One card, every widthscroll drives the frame

One card, every width.

320px
  • 320+Stacked
  • 600+Side by side
  • 1024+Expanded
Field note6 min readLayout

The fold is not a line. It is a range.

Every screen your card lands on is a different width. Design the card once, decide where its content asks for a new shape, and let the container do the rest.

Read the noteSave
Widths tested1,120
Breakpoints2
Overflow bugs0
Media queries0
02 / Fluid typeclamp(min, preferred, max)

Stop jumping. Start scaling.

Stepped / 3 media sizes32px

Every width.


Fluid / one clamp()32px

Every width.

min 32px 10.09px + 6.087vw max 88px
Width320
Fluid32.0
Stepped32
/* one declaration, every width */
h1 { font-size: clamp(
  2rem,               /* 32px floor  */
  0.63rem + 6.087vw,  /* the slope   */
  5.5rem              /* 88px ceiling */
); }
03 / Content firstdevices change every year

Break where the content breaks, not where the devices do.

  1. 01

    Start at the smallest width

    Lay the content out in one column at 320px. Get the order and the hierarchy right before anything sits side by side.

  2. 02

    Stretch until it looks wrong

    Drag the viewport wider. Lines get too long, images get too big, white space goes slack. That width is your breakpoint, whatever the device charts say.

  3. 03

    Let the container decide

    Components rarely know the viewport. With container queries a card reflows to the column it sits in, so the same card works in a sidebar and a hero.

  4. 04

    Make the in-between fluid

    Between breakpoints, type and space should glide with clamp() instead of jumping. Fewer breakpoints, smoother layouts.

04 / Reflow patternsdrag any handle

Four ways a layout reflows.

The classic responsive patterns, each in its own frame with two container breakpoints at 520 and 820px. Throw the handle and watch the blocks snap between states.

Mostly fluid

A1

A multi-column grid that just gets wider, then stops at a max width and centres. The most common pattern on the web.

ABCDE

Column drop

A2

Columns sit side by side when there is room, and drop below one another as the width runs out.

A navB mainC aside

Layout shifter

A3

The most adaptive pattern. Blocks do not just stack, they move to new positions at each breakpoint.

ABC

Off canvas

A4

Secondary content waits off screen on small widths, and slides into view as columns when there is space.

A mainB menuC panel
05 / Bench toolstwo more rooms