Fluid Type Scale Calculator
Generate CSS clamp() font size variables for a fluid type scale from min and max viewport sizes, free online.
Fluid Type Scale Calculator generates CSS variables for fluid typography. Set a minimum and a maximum screen width, and every font size in your scale grows smoothly between them instead of jumping at breakpoints.
For each end you enter a base font size, a screen width and a type scale ratio. Sizes are the base size times a power of the ratio. You then name the steps (the defaults run from sm, base, md, lg, xl to xxl and xxxl), choose the base step, a variable prefix and how many decimals to round to. Options include using container inline size (cqi) instead of viewport width, adding fallback CSS for browsers without clamp(), and using rems with a custom rem value. The output is a block of --fs custom properties with clamp() values that updates as you change inputs, ready to copy into a design system.
It is free and needs no account. The interface is in English.
Similar Tools
Elixir Playground
Run Elixir, Mix and a Phoenix LiveView project in your browser tab with WebAssembly, no server and no install.
Svgbob Editor
Turn ASCII text diagrams into clean SVG images in a live online editor, using only the keyboard.
Decker
Make interactive documents, zines and small games with sound, images and scripts in a HyperCard-style browser editor.