Skip to content

CSS clamp() calculator

Instructions

  1. Understand what clamp() does
  2. Set your property’s minimum and maximum sizes
  3. Do the same for the browser’s width
  4. Copy the Generated clamp() code and use it in your project

Generated clamp()

Preview

This font size is currently , and your browser’s width is currently .