Fluid typography without breakpoints
clamp(min, preferred, max) keeps a value between bounds while scaling with viewport width.
Typical font-size pattern
font-size: clamp(1rem, 0.9rem + 1vw, 1.25rem);
- min: smallest readable size on mobile
- preferred: formula with
vwfor smooth scaling - max: cap on large screens
Enter your min, vw factor, and max — the tool outputs the full clamp() expression.