CSS contain-intrinsic-block-size Property
border: 5px solid green;
border: 5px solid red;
The contain-intrinsic-block-size CSS property defines the block size of an element that a browser can use for layout when the element is subject to size containment.
contain-intrinsic-block-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 block size.
|The element has the specified block size, expressed using the (length) data type.
|The element is in size containment and skipping its contents the block size is remembered from the actual size of the element when it was last able to render its child elements.
|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