Baseline Widely Containment

contain

The contain CSS property sets limits to the scope of styles, layout, and paint rendering for speed and efficiency. The none keyword value disables containment, strict is equivalent to contain: size layout style paint, and content is equivalent to contain: layout style paint.

Baseline Status
Widely Available
Since 2022-03-14
First Core Launch
Chrome 52
2016-07-20
Core-3 Stability
2,063d (5.6y)
Last: Safari (2022-03-14)
BCD Keys Mapped
4
Group: Containment

Browser Support Timeline

Chrome v52 (2016-07-20) Chrome Android v52 (2016-07-27) Firefox v69 (2019-09-03) Edge v79 (2020-01-15) Firefox for Android v79 (2020-07-28) Safari v15.4 (2022-03-14) Safari on iOS v15.4 (2022-03-14)
Green dot marks the first browser release (2016-07-20); blue dots show subsequent browser launches (+2063d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 52 2016-07-20
Chrome Android mobile 52 2016-07-27
Firefox desktop 69 2019-09-03
Edge desktop 79 2020-01-15
Firefox for Android mobile 79 2020-07-28
Safari desktop 15.4 2022-03-14
Safari on iOS mobile 15.4 2022-03-14

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.properties.contain CSS 2,063d (5.6y)
css.properties.contain.content CSS 2,063d (5.6y)
css.properties.contain.none CSS 2,063d (5.6y)
css.properties.contain.strict CSS 2,063d (5.6y)