CSS · Properties — CSS Box Sizing

contain-intrinsic-height

The CSS contain-intrinsic-height property. Initial value: none. Not inherited.

Syntax
contain-intrinsic-height: auto? [ none | <length> ]

Example

Try it

Notes

Media: all. Applies to: elementsForWhichSizeContainmentCanApply. Computed value: asSpecifiedWithLengthValuesComputed.

More in this group

column-height column-width column-wrap contain-intrinsic-block-size contain-intrinsic-inline-size contain-intrinsic-size contain-intrinsic-width frame-sizing

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course