CSS contain-intrinsic-size Property
border: 2px solid green;
contain-intrinsic-size: 40px 130px;
border: 1px solid red;
The contain-intrinsic-size CSS property sets the size of an element that a browser will use for layout when the element is subject to size containment.
This property is a shorthand for the following CSS properties:
contain-intrinsic-size: none|length|auto length|initial|inherit|revert|revert-layer|unset;
The following table describes the values of this property:
|The element has no intrinsic size in the given dimension(s).
|The element has the specified length in the given dimension(s).
|A remembered value of the "normally rendered" element size if one exists and the element is skipping its contents (for example, when it is offscreen); otherwise the specified length.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values
contain-intrinsic-size: none none;