---
id: "contain-layout"
kind: "web-feature"
canonical: "https://timetostable.com/feature/contain-layout"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# Layout containment (`contain-layout`)

The contain: layout CSS declaration isolates the inside of an element such that it cannot affect the layout of the rest of the page or be affected by the rest of the page. This permits the browser to avoid slower layout calculations.

- **Group**: Containment
- **Baseline**: Widely Available
- **Newly Available Date**: 2022-03-14
- **Widely Available Date**: 2024-09-14
- **Specification**: https://drafts.csswg.org/css-contain-2/#containment-layout
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 52 | 2016-07-20 |
| Chrome Android | 52 | 2016-07-27 |
| Firefox | 69 | 2019-09-03 |
| Edge | 79 | 2020-01-15 |
| Firefox for Android | 79 | 2020-07-28 |
| Safari | 15.4 | 2022-03-14 |
| Safari on iOS | 15.4 | 2022-03-14 |

