contain-intrinsic-size

The contain-intrinsic-size CSS property controls the natural size of an element specified by content-visibility.

Syntax

/* <length> values */
contain-intrinsic-size: 1000px;
contain-intrinsic-size: 10rem;

/* <percentage> value */
contain-intrinsic-size: 10%;

/* Global values */
contain-intrinsic-size: inherit;
contain-intrinsic-size: initial;
contain-intrinsic-size: revert;
contain-intrinsic-size: unset;

Specifications

Specification
CSS Box Sizing Module Level 4 (CSS Sizing 4)
# propdef-contain-intrinsic-size

Browser compatibility

BCD tables only load in the browser

See also