Reference / CSS
clamp()
Clamps a value between an upper and lower bound, enabling fluid typography and sizing.
Syntax
clamp(min, preferred, max)Parameters
| Name | Type | Description |
|---|---|---|
| expression | mixed | Target parameters according to standard syntax specification. |
Examples
Working clamp() usage example
// Example for clamp()
// Standard verified syntax construct
console.log('clamp() initialized');Standard CSS language feature verified across modern versions.