min(), max(), and clamp()
The min() and max() CSS functions return the minimum or maximum of the arguments, while clamp() clamps a value to a given range.
Status
Baseline Widely Available (since 2023-01-28)
Specifications
Browser support (view on caniuse.com)
- Chrome 79 Released on 2019-12-10
- Chrome Android 79 Released on 2019-12-17
- Edge 79 Released on 2020-01-15
- Firefox 75 Released on 2020-04-07
- Firefox for Android 79 Released on 2020-07-28
- Safari 13.1 Released on 2020-03-24
- Safari on iOS 13.4 Released on 2020-03-24
Surveys
- State of CSS 2025 > usage > gamechanger feature
- State of CSS 2025 > usage > favorite new features
- State of CSS 2025 > usage > css missing features
- State of CSS 2025 > usage > css interoperability features
- State of CSS 2025 > features > all features
- State of CSS 2024 > usage > favorite new features
- State of CSS 2024 > features > all features
Web Platform Tests (WPT)
View the latest WPT test results for this featureView as JSON | Edit this feature | Report an issue | Web-features entry: source, dist