PixelTool

CSS Clamp Calculator

Create fluid typography and spacing that scales smoothly between viewport sizes

Values

rem
rem

Viewport

px
px

Result

clamp(1rem, 0.824rem + 0.75vw, 1.5rem)

Live Example

This text uses the calculated clamp formula. Try editing this text or resize your browser window to see how it scales smoothly between the minimum and maximum values! 🎨

Frequently Asked Questions

PixelTool - Free Online Developer Tools & Utilities