WeCodeAcademy
❮ calc()@media ❯

clamp()

A value that stays between a minimum and maximum.

Group: Functions

Syntax

font-size: clamp(min, preferred, max);

Example

Examplehtml
Open in editor »

← All of CSS Properties