CSS clamp() Function Generator

Create flawless fluid typography that scales perfectly between breakpoints without media queries.

rem
rem
px
Scaling starts here
px
Scaling ends here
clamp(1.5rem, 0.5rem + 2.5vw, 3.5rem)
h1 {
  font-size: clamp(1.5rem, 0.5rem + 2.5vw, 3.5rem);
}

Responsive Sandbox

Width: 100px

The quick brown fox jumps over the lazy dog.

Fluid typography ensures this heading stays readable across all screen sizes. Adjust the settings above or drag the handle on the right of this box to see it in action.