CSS tool
CSS Clamp Generator
Pick min and max sizes, the viewports they belong to, and copy a fluid clamp(). Preview scales with a simulated width. It all stays on your device.
Like the tool? Find a bug?Share with usGenerator
Preview
1.0609rem · 16.97px
Html69
Fluid range
Property
Fluid unit
Advanced
Wrap
Precision
font-size: clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem);
text-[clamp(1rem,0.9565rem+0.2174vw,1.125rem)]
clamp(1rem, 0.9565rem + 0.2174vw, 1.125rem)