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.
https://css-tricks.com/when-is-it-right-to-reach-for-contain-and-will-change-in-css/
Autentifică-te pentru a adăuga comentarii
Alte posturi din acest grup
The @view-transition
at-rule has two descriptions. One is the commonly used navigation
descriptor. The second is types
, the lesser-known of the two, and one t
After 20 years since Andy Clarke first published his book about Multi-Column Layout in CSS, he's back to encourage a fresh look at CSS columns for enhanced readability and design flexibility.
<
When it comes to positioning elements on a page, including text, there are many ways to go about it in CSS — the literal position
property with corresponding inset-*
prope
I was reading through Juan’s recent Almanac entry for the @counter-style
at-rule and I’ll be darned if he didn’t uncover and unpack some extremely interesting things
Chris wrote about “Likes” pages a long while back. The idea is rather simple: “Like” an item in your RSS reader and dis