Adds the comparison functions min(), max(), and clamp() to math expressions for numeric CSS values.
The feature has been requested for over a year with many stars, and has been shipped in Safari. We should also make it available in Chromium.
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 79
- Chrome for Android release 79
- Android WebView release 79
Consensus & Standardization
Search tagscss, css-values, min, max, clamp, comparison,
Last updated on 2021-06-28