The CSS contain property gives you a way to explain your layout to the browser, so performance optimizations can be made. However, it does come with some side effects in terms of your layout. In this article, I’m going to introduce a CSS Specification that has just become a W3C Recommendation. The CSS Containment Specification defines a single property, contain, and it can help you to explain to t
![Helping Browsers Optimize With The CSS Contain Property — Smashing Magazine](https://cdn-ak-scissors.b.st-hatena.com/image/square/230b14313d83ea53f9addb36ebdacfb16836511e/height=288;version=1;width=512/https%3A%2F%2Farchive.smashing.media%2Fassets%2F344dbf88-fdf9-42bb-adb4-46f01eedd629%2F46f0a462-6a6f-4620-a7fc-e02cbf97f4d6%2Fbrowsers-containment-css-contain-property.png)