The ‘contain’ CSS property
(mozilla.org)
The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree.
The contain CSS property indicates that an element and its contents are, as much as possible, independent from the rest of the document tree.