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
Developer signals
- State of CSS 2025: usage/gamechanger_feature question
- State of CSS 2025: usage/favorite_new_features question
- State of CSS 2025: usage/css_missing_features question
- State of CSS 2025: usage/css_interoperability_features question
- State of CSS 2025: typography/typography_pain_points question
- State of CSS 2025: shapes_graphics/shapes_graphics_pain_points question
- State of CSS 2025: math_features/math_features_pain_points question
- State of CSS 2025: layout/layout_pain_points question
- State of CSS 2025: features/all_features question
- State of CSS 2024: features/all_features question
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist