Загрузка видео...
Не удалось загрузить видео
Similar technique 🤙 1. Take a scroll-snap list 2. Apply CSS scroll animations ✨ img { animation: flow; animation-timeline: --cover; } keyframes flow { 0% { transform: translate(-80%, 0) rotateY(-33deg); } } Few lines of CSS make it a progressively enhanced animated list 🔥
114,209 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 8

jhey ▲🐻🎈2 лет назад
Here's the @CodePen link 🚀 Definitely required as I can't fit a decent chunk of keyframes into that post without making it an essay 😅

Ola_Lekan2 лет назад
what is the flow animation and --cover ?

jhey ▲🐻🎈2 лет назад
The keyframes were a little long to squeeze in here 🤏 "flow" is the animation-name "--cover" is the animation-timeline The animation-timeline is based on the list item position and the animation is applied to the image that's contained 🤙

Naveen2 лет назад
@X should bring syntax highlighting just for this guy! 👀

Tomas Jansson2 лет назад
how quickly you create these demos are mind-blowing!

eboye | デジタルボーイ2 лет назад
I remember doing this in flash / actionScript 👀

Glow Design Agency2 лет назад
hm, interesting🫢

Epictetus2 лет назад
This is awesome!
