A font size that grows with the viewport can become unreadably small on a phone or oversized on a wide screen. Clipping a numeric value—also called clamping—keeps it between a lower and an upper limit. The value can still change smoothly between those limits. section 3.2.3 section 8.2.2
In CSS, `clamp(MIN, VAL, MAX)` uses the preferred value when it is within range, the minimum when it falls below range, and the maximum when it rises above range. The equivalent calculation is `max(MIN, min(VAL, MAX))`. Use `min()` or `max()` alone when you need only one boundary. section 3.2.3
Keep a heading within readable limits
Set `font-size: clamp(32px, 8vw, 64px)`. At a 500px viewport width, `8vw` is 40px, so the heading uses 40px. At 1000px, `8vw` is 80px, so the heading stops at 64px. If the preferred size drops below 32px, the heading stays at 32px. section 3.2.3
Derive a fluid container width
Suppose a container should measure 400px at a 500px viewport and 800px at a 1000px viewport. Its slope is `(800 − 400) / (1000 − 500) = 0.8`, giving a preferred width of `80vw`. Use `width: clamp(400px, 80vw, 800px)` to preserve that growth while capping both ends. section 6.5.3
The same boundary-setting idea applies when a custom slider converts cursor positions into numeric values: its value must stay within predefined limits. This is different from visual clipping with CSS `clip-path`, which hides parts of an element outside a shape rather than limiting a number. section 13.2 section 10.4.1


