contain-intrinsic-size
Widely availableSince 202396% of users
A shorthand property to set both the width and height an element should 'pretend' to have when it is under size containment. Use it with content-visibility: auto, so skipped content keeps its space and the page doesn't jump while scrolling.
What's modern
From web-features, MDN's browser data and our snippets, checked dailyModernIn every major browser since September 2023. Widely available since March 2026.
See how modern your own CSS is.Check your CSS →
Quick facts
- Initial value
See individual properties- Inherited
- No
- Applies to
- elements for which size containment can apply
Quick example
section {
content-visibility: auto;
/* Reserves 100% width and 400px height */
contain-intrinsic-size: 100% 400px;
}Values
autononecontain-intrinsic-size browser support
BaselineWidely availableThis feature is well established and works across many devices and browser versions. It has been available across browsers since 2023.Safe to use without fallbacks.
Usage96%of people can use this4% use a browser without it.
Browsers
83+
107+
17+
83+Mobile
83+Android
107+Android
17+iOS