CSS Clamp Generator
Set the minimum and maximum size. Get fluid CSS that scales between your chosen viewport widths.
Use the result for font-size, gap or padding. REM values assume the root size you enter. Check text resizing and browser zoom before publishing.
Your result
Type that adapts.
Example: a heading that grows with your layout
A service-page heading might need to be 28 px on a small phone and 44 px on a laptop. Choose the Section heading preset, enter your own wording and inspect the calculated sizes at common widths.
Put the result to work
- Set the smallest and largest acceptable sizes, then the viewport range where growth should happen.
- Drag the preview slider and check the sample at both extremes. Try a long heading, not only a short title.
- Apply the result to your font-size setting where expressions are supported, then check the actual page with browser zoom and text resizing.
Using Oxygen 6? Work through the element’s Typography and responsive controls. If a particular field accepts a custom value, use the clamp expression there. Otherwise use the table to choose breakpoint values. This preview calculates a font size; it does not emulate a full viewport.
Stress-test the finished layout →