FBC
Blog Details

Overlay Overlay
blog-post
Freebies & Resources

Helping Browsers Optimize With The CSS Contain Property

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 the browser which parts of your layout are independent and will not need recalculating if some other part of the layout changes.

While this property exists for performance optimization reasons, it can also affect the layout of your page. Therefore, in this article, I’ll explain the different types of containment you can benefit from, but also the things you need to watch out for if applying contain to elements in your site.

Click here to read the full article.

Start Here

/



Pick a date & time of your choice.



No obligation. Cancel anytime.