CSS contain-intrinsic-inline-size Property Reference
The CSS contain-intrinsic-inline-size property is a standard property in CSS Box Sizing. Review its formal syntax, computed behavior, and practical declarations.
Updated 2026-08-12
contain-intrinsic-inline-size overview
The CSS contain-intrinsic-inline-size property is a standard property in CSS Box Sizing. Review its formal syntax, computed behavior, and practical declarations.
The property is not inherited by default. Use an explicit global keyword when inheritance is intended.
Syntax and formal definition
| Field | Value |
|---|---|
| Formal syntax | auto? [ none | <length> ] |
| Initial value | none |
| Applies to | elementsForWhichSizeContainmentCanApply |
| Inherited | No |
| Percentages | no |
| Computed value | asSpecifiedWithLengthValuesComputed |
| Animation type | byComputedValueType |
| Media | Not specified |
| Specification group | CSS Box Sizing |
| Status | Standard |
Practical examples
These declarations demonstrate valid ways to set contain-intrinsic-inline-size. The initial and inherit global keywords remain available even when a property-specific value is preferable.
.reset-example {
contain-intrinsic-inline-size: initial;
}
.inherit-example {
contain-intrinsic-inline-size: inherit;
}
@supports (contain-intrinsic-inline-size: initial) {
.supported {
contain-intrinsic-inline-size: initial;
}
}