Загрузка видео...
Не удалось загрузить видео
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 просмотров • 3 лет назад •via X (Twitter)
Комментарии: 5

jhey ʕ•ᴥ•ʔ3 лет назад
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 лет назад
@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 лет назад
@CodePen 🔥

アブドぅル🇦🇿 3 лет назад
@CodePen @kam

Ian Vieira3 лет назад
@CodePen @MilanDzenovljan 👀 I think that’s something we were missing…
