fit-content()
Limited availability
The fit-content()
CSS function, used outside of a grid layout property, clamps a length between min-content
and max-content
.
Learn more
Specifications
Browser support
- Chrome ❌
- Chrome Android ❌
- Edge ❌
- Firefox ❌
- Firefox for Android ❌
- Safari ❌
- Safari on iOS ❌
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist