HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

contain-intrinsic-size

Description

The contain-intrinsic-size property for CSS shorthand for contain-intrinsic-width and contain-intrinsic-height.

Syntax

CSS

contain-intrinsic-size: value;

JS

object.style.containIntrinsicSize = "value";

Values

<'contain-intrinsic-size'> = [ none | <length> | auto <length> ]{1,2}
none

The corresponding axis does not have an explicit intrinsic inner size.

<length>

The corresponding axis has an explicit intrinsic inner size of the specified <length>.

auto <length>

If the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size is the last remembered size. Otherwise, its explicit intrinsic inner size is the specified <length>.

Examples

1 · none

2 · length

3 · auto length

4 · JS