Fluid Typography Generator
Generate a CSS clamp() font size that scales between set sizes and viewport widths.
Result
Local processingYour result will appear here.
How to use it
Set the font size for a narrow and a wide viewport, then enter both viewport widths. Set a reference root font size for converting pixels to rem. Copy the resulting font-size declaration.
Worked example
Scale body text from 16 px at a 320 px viewport to 24 px at a 1,200 px viewport.