Aa

Fluid typography / CSS clamp generator

Enter the viewport range and font size range, and automatically generate the CSS clamp() fluid typesetting function without media queries.

Quick preset
px
px
px
px
px
Output unit:
CSS font-size
—
Preview effect Viewport: — px
Fluid typography lets fonts scale smoothly with the viewport without the need for media query breakpoints. Fluid typography scales smoothly with the viewport.
Current font size: —
320px Drag the slider to simulate the viewport width 1280px
— slope (vw)
— Intercept
— Font size range