
Because selector matching in browsers happens from right to left, you might end up with more matches than you expected when using .a :is(.b .c)
.
A rather geeky/technical weblog, est. 2001, by Bramus
:is()
in complex selectors selects more than you might initially think:has()
and ~
:has()
feature detection with @supports(selector(…))
: You want :has(+ *)
, not :has(*)
:nth-child(An+B [of S]?)
polyfill thanks to CSS :has()
and :not()
:has()
:has()
🚨 UPDATE: The Scroll-Linked Animations Specification and its proposed syntax have undergone a major rewrite. The contents of this video are mostly correct, yet some minor things have changed. Please refer to https://developer.chrome.com/articles/scroll-driven-animations/ for an article and examples that use the latest version of the syntax. In the latest episode of HTTP 203 I share …
Continue reading “Scroll-Linked Animations with ScrollTimeline and ViewTimeline”