Web features explorer

Size containment

Widely available
Tags: css Groups: Containment CSS

The contain: size CSS declaration sets an element's dimensions exclusively by its height and width properties, ignoring its contents and descendants. This permits the browser to avoid slower layout calculations.

Compatibility

MDN docs

BCD data