CSS clamp() fluid typography calculator
Generate fluid font sizes and spacing with CSS clamp(). Set the minimum and maximum, preview across screen widths and build a full type scale.
- Free
- No sign-up
- Private: runs in your browser
4 steps, no sign-up.
Built and maintained by Ruchira Sachinthana. Spotted a bug or want a feature? Tell me.
- 01Enter the smallest and largest size you want, and the screen widths they apply at.
- 02Drag the preview slider to see the size at any width.
- 03Optionally build a type scale from a base size and ratio.
- 04Copy the clamp() values as CSS, Tailwind classes or variables.