contain-intrinsic-sizeBaseline · Widely available
The contain-intrinsic-size CSS property sets the intrinsic size of an element. When using size containment, the browser will lay out the element as if it had a single child of this size.
Supported in all major browsers for at least 30 months — safe to use without fallbacks. Baseline since Sep 18, 2023. Widely available since Mar 18, 2026.
Browser support
DesktopChrome
1–81Not supported
83+Supportedsince May 19, 2020
Current: 155Edge
12–81Not supported
83+Supportedsince May 21, 2020
Current: 154Firefox
1–106Not supported
107+Supportedsince Nov 15, 2022
Current: 157Safari
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27MobileChrome Android
18–81Not supported
83+Supportedsince May 19, 2020
Current: 155Firefox Android
4–106Not supported
107+Supportedsince Nov 15, 2022
Current: 157Safari iOS
1–16.6Not supported
17+Supportedsince Sep 18, 2023
Current: 27How to use
This feature is Baseline widely available — use it freely, no fallback needed.
Example
Full syntax and examples are on MDN: contain-intrinsic-block-size.
Feature detection
CSS · check before using
@supports (contain-intrinsic-size: initial) {
/* styles that rely on contain-intrinsic-size */
}
/* or in JavaScript */
if (CSS.supports("contain-intrinsic-size", "initial")) {
// use it
}Sub-features
Support for each part of the feature (11). The overall table above shows when the whole feature works.
| Sub-feature | Chrome | Edge | Firefox | Safari | Chrome Android | Firefox Android | Safari iOS |
|---|---|---|---|---|---|---|---|
| contain-intrinsic-block-size | 95 | 95 | 107 | 17 | 95 | 107 | 17 |
| contain-intrinsic-block-size.none | 98 | 98 | 107 | 17 | 98 | 107 | 17 |
| contain-intrinsic-height | 95 | 95 | 107 | 17 | 95 | 107 | 17 |
| contain-intrinsic-height.none | 98 | 98 | 107 | 17 | 98 | 107 | 17 |
| contain-intrinsic-inline-size | 95 | 95 | 107 | 17 | 95 | 107 | 17 |
| contain-intrinsic-inline-size.none | 98 | 98 | 107 | 17 | 98 | 107 | 17 |
| contain-intrinsic-size | 83 | 83 | 107 | 17 | 83 | 107 | 17 |
| contain-intrinsic-size.auto_none | 117 | 117 | 117 | 17 | 117 | 117 | 17 |
| contain-intrinsic-size.none | 98 | 98 | 107 | 17 | 98 | 107 | 17 |
| contain-intrinsic-width | 95 | 95 | 107 | 17 | 95 | 107 | 17 |
| contain-intrinsic-width.none | 98 | 98 | 107 | 17 | 98 | 107 | 17 |