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.



Editor's draft

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

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.


Search tags

css, css-values, min, max, clamp, comparison,

Last updated on 2021-06-28