contain | CSS-Tricks

The contain property in CSS indicates to the browser that the element and its descendants are considered independent of the document tree as much as possible.