Video wird geladen...
Video konnte nicht geladen werden
Future CSS Tip! 🔮 Use scroll-driven animation to animate non-ancestor elements w/ timeline-scope 👀 main{ timeline-scope: --a; }👈 hoist! .a{ view-timeline: --a; } .i{ animation: indicate; animation-timeline: --a; } Peep the contact list indicators ✨ CodePen.IO link below! 👇
56,805 Aufrufe • vor 3 Jahren •via X (Twitter)
5 Kommentare

jhey ʕ•ᴥ•ʔvor 3 Jahren
Here's that @CodePen link! 🚀 Remember, you'll need to be in Chrome Canary to see this in action 👀 Don't mind the JavaScript, I'm using @reactjs to generate the contact list markup for me 😉

Bruno Stassevor 3 Jahren
@CodePen Oh, that's new right? So you can animate elements completely unrelated to the scroll container with this? Like descendants of a sibling of an ancestor?

Rodneyvor 3 Jahren
@CodePen 🔥

アブドぅル🇦🇿 vor 3 Jahren
@CodePen @kam

Ian Vieiravor 3 Jahren
@CodePen @MilanDzenovljan 👀 I think that’s something we were missing…
