How the cascade, the animation-fill-mode, and implicit keyframes make things a bit more complicated then you’d initially think …
A rather geeky/technical weblog, est. 2001, by Bramus
@starting-style
I built something that I needed into DevTools: debugging support for CSS @starting-style rules.
--light-dark() function in CSS that works with any type of value (not just colors!) in just 3 LOC
For this year’s Google I/O, I recorded the session “Web animations today and tomorrow”. Check it out to learn how to guide, inform, and delight users by adding subtle and supportive animations to your web UIs.
border-radius with a View Transition, revisited
In April I attended #BlinkOn, the conference for web platform contributors in the Chromium open source project. At the conference I gave a presentation about “CSS Parser Extensions”, a wild idea I have to fix CSS polyfilling once and for all.
If you didn’t know, polyfilling CSS features is extremely hard, mainly because the CSS Parser discards what it does not understand. So what if, instead of having authors write their own parser and cascade to polyfill a CSS feature, they could teach the parser some new tricks?
StyleObserver: Element.matchContainer()@function + CSS if() = 🤯