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.
Learning resources on MDN
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 2024: features/all_features question
Specifications
View web-platform-tests results for this feature - View the feature source file (dist) - Edit the feature - Report an issue about this feature