Font Clamp Generator

Clamp values

Define the minimum, fluid viewport value, and maximum size.

The smallest permitted font size.
Usually expressed with a viewport-relative unit such as vw.
The largest permitted font size.

Live preview

Resize the viewport to see the type scale between its limits.

Fluid typography

Scale with confidence

clamp(1rem,5vw,3rem)

Generated code