min-content and max-content
Widely Available (since 2022-07-15)
The min-content and max-content CSS keywords represent the smallest and largest intrinsic sizes of an element.
Browser support
- Chrome 46 Released on 2015-10-13
- Chrome Android 46 Released on 2015-10-14
- Edge 79 Released on 2020-01-15
- Firefox 66 Released on 2019-03-19
- Firefox for Android 66 Released on 2019-03-19
- Safari 11 Released on 2017-09-19
- Safari on iOS 11 Released on 2017-09-19
MDN documentation
Specifications
Web Platform Tests (WPT)
View the latest WPT test results for this featureSurveys
- State of CSS 2026 > usage > favorite new features
- State of CSS 2026 > shapes graphics > shapes graphics pain points features
- State of CSS 2026 > shapes graphics > shapes graphics pain points
- State of CSS 2026 > layout > layout pain points features
- State of CSS 2026 > layout > layout pain points
- State of CSS 2026 > interactions > interactions pain points features
- State of CSS 2026 > interactions > interactions pain points
- State of CSS 2025 > features > all features
- State of CSS 2024 > features > all features
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist