Skip to content

Fluid clamp() calculator

Fluid clamp() calculator

Build type and spacing clamp() from viewport ranges.

Loading tool…

Enter min/max font size and viewport widths to get a CSS clamp() that scales linearly between them. Use it for type ramps and spacing without a dozen media queries.

Related tools