Below the minimum viewport, the minimum size wins
The first argument of clamp() keeps the value from shrinking below the chosen minimum.
FREE WEB TOOL
Generate a fluid CSS clamp() expression from viewport and size ranges.
Generate a CSS clamp() expression from minimum/maximum pixel sizes and the viewport widths where those sizes should apply. It is useful as a starting point for fluid type or spacing.
clamp() into CSS and test it at real breakpoints.The formula only connects the two numeric design points. It does not decide readable typography, accessibility, zoom behavior or whether your design system should use fixed steps instead.
The first argument of clamp() keeps the value from shrinking below the chosen minimum.
The third argument caps growth so the value does not continue increasing indefinitely on very wide screens.
This generator is aimed at equal-or-growing fluid values from narrow to wide viewports. Reverse scaling is outside this simplified UI.
Check narrow mobile, tablet, laptop and wide desktop widths to confirm wrapping and spacing still look intentional.
The generated expression uses px and vw. If your accessibility or design-system strategy depends on rem, adapt the formula to that unit policy.
Related references: HTTP status codes · MIME types · Regex cheat sheet