November 26, 2021 08:43 pm GMT
Original Link: https://css-tricks.com/when-is-it-right-to-reach-for-contain-and-will-change-in-css/
When is it Right to Reach for contain and will-change in CSS?
I’ve got some blind spots in CSS-related performance things. One example is the will-change
property. It’s a good name. You’re telling the browser some particular property (or the scroll-position
or content) uh, will, change:
.el { will-change: opacity;
…
The post When is it “Right” to Reach for contain and will-change in CSS? appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.
Original Link: https://css-tricks.com/when-is-it-right-to-reach-for-contain-and-will-change-in-css/
Share this article:
Tweet
View Full Article