Video yükleniyor...
Video Yüklenemedi
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 görüntüleme • 3 yıl önce •via X (Twitter)
5 Yorum

jhey ʕ•ᴥ•ʔ3 yıl önce
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 Stasse3 yıl önce
@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?

Rodney3 yıl önce
@CodePen 🔥

アブドぅル🇦🇿 3 yıl önce
@CodePen @kam

Ian Vieira3 yıl önce
@CodePen @MilanDzenovljan 👀 I think that’s something we were missing…
