Every Drawer
All tools

CSS clamp() Generator

Get a clamp() font size that scales between a small and large screen, plus a table of sizes at common widths.

How it works

Get a clamp() font size that scales between a small and large screen, plus a table of sizes at common widths.

  1. Set Size on a small screen and Size on a large screen.
  2. Set Small screen and Large screen widths.
  3. Press Copy to take the CSS code.

Good to know

Is the size output in rem?

Yes. The font-size line uses rem units, worked out from your pixel sizes at 16 pixels to the rem.

More like this