Web features explorer

Layout containment

Widely available
Tags: css Groups: Containment CSS

The contain: layout CSS declaration isolates the inside of an element such that it cannot affect the layout of the rest of the page or be affected by the rest of the page. This permits the browser to avoid slower layout calculations.

Compatibility

BCD data