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

# Inline-size containment (`contain-inline-size`)

The contain: inline-size CSS declaration prevents the element's inline dimension from being set by the element's contents. This permits the browser to avoid slower layout calculations.

- **Group**: Containment
- **Baseline**: Widely Available
- **Newly Available Date**: 2022-09-12
- **Widely Available Date**: 2025-03-12
- **Specification**: https://drafts.csswg.org/css-contain-3/#containment-inline-size
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Firefox | 101 | 2022-05-31 |
| Firefox for Android | 101 | 2022-05-31 |
| Edge | 105 | 2022-09-01 |
| Chrome | 105 | 2022-09-02 |
| Chrome Android | 105 | 2022-09-02 |
| Safari | 16 | 2022-09-12 |
| Safari on iOS | 16 | 2022-09-12 |

