When is it “Right” to Reach for contain and will-change in CSS?

· CSS-Tricks · Nov. 26, 2021, 9:24 p.m.
Summary
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....
AUTHOR
BLOG POST FEATURED ON

Add this plugin to your blog