CSS Clamp Generator

At the minimum viewport and narrower.

At the maximum viewport and wider.

Where the size starts to grow.

Where it stops growing.

CSS

font-size: clamp(1rem, 0.913rem + 0.4348vw, 1.25rem);

Zoom-safe (WCAG 1.4.4): the max is 1.25× its min, within the 2.5× rule of thumb, so text can still be zoomed to 200% at every viewport width.

Details

Preferred value
0.913rem + 0.4348vw
Growth rate
0.4348px per 100px of width
Size at preview width
18px at 780px

Live preview

780px

Fluid text at 18px

Powered by My Tiny Utils