Limited Layout
fit-content()
The fit-content() CSS function, used outside of a grid layout property, clamps a length between min-content and max-content.
Baseline Status
Limited
Missing ≥1 target
First Core Launch
—
Core-3 Stability
Limbo (—)
Missing: chrome, firefox, safari
BCD Keys Mapped
12
Group: Layout
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| No dated releases recorded. | |||
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| css.properties.block-size.fit-content_function | CSS | — limbo |
| css.properties.height.fit-content_function | CSS | — limbo |
| css.properties.inline-size.fit-content_function | CSS | — limbo |
| css.properties.max-block-size.fit-content_function | CSS | — limbo |
| css.properties.max-height.fit-content_function | CSS | — limbo |
| css.properties.max-inline-size.fit-content_function | CSS | — limbo |
| css.properties.max-width.fit-content_function | CSS | — limbo |
| css.properties.min-block-size.fit-content_function | CSS | — limbo |
| css.properties.min-height.fit-content_function | CSS | — limbo |
| css.properties.min-inline-size.fit-content_function | CSS | — limbo |
| css.properties.min-width.fit-content_function | CSS | — limbo |
| css.properties.width.fit-content_function | CSS | — limbo |