min-content and max-content
The min-content and max-content CSS keywords represent the smallest and largest intrinsic sizes of an element.
Status
Baseline Widely Available (since 2022-07-15)
MDN documentation
Specifications
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
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 > typography > typography pain points
- State of CSS 2025 > shapes graphics > shapes graphics pain points
- State of CSS 2025 > math features > math features pain points
- State of CSS 2025 > layout > layout 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