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

# Style containment (`contain-style`)

The contain: style CSS declaration permits the browser to avoid slower layout calculations by preventing modification to counter (counter-increment and counter-set) and quotation styles (content property quote values) beyond the element's descendants.

- **Group**: Containment
- **Baseline**: Widely Available
- **Newly Available Date**: 2022-07-26
- **Widely Available Date**: 2025-01-26
- **Specification**: https://drafts.csswg.org/css-contain-2/#containment-style
- **Constituent BCD keys**: 1

## Browser Support Timeline

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

