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;
…