A simple way to look at what [contain] provides is that we can giveย hints to the browser about the relationships of the various elements on the page.
The general idea is apply it to elements that are containers of otherย elements, especially those with some form of dynamic aspect to them.