CSS Clamp Calculator
Fluid sizes for Divi 5, in seconds.
Simple CSS Clamp Calculator
Generated CSS
clamp(
16px, 1.55vw + 11.03px, 32px)Copy copies the whole clamp(âŠ). Paste it into any size field in Divi 5 (it recognizes clamp and sets the unit for you), or save it as a global variable.
Text preview
This text scales responsively with your clamp settings. Resize the browser window to see the effect!
Sizing preview
This square's size is your clamp value, the way it works for sizing, margin, or padding:
Generated typography scale
Generated spacing scale
Want to take this further?