Загрузка видео...
Не удалось загрузить видео
Custom property powered responsive scroll animations with CSS 🔥 .card { animation: morph; animation-timeline: --scroll; } .card--one { --x: -35vw; --r: -10deg; } .card--two { --x: 35vw; } @keyframes morph { 0% { translate: var(--x) var(--y); rotate: var(--r); } }
201,871 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

jhey ▲🐻🎈2 лет назад
Here's that @CodePen link! 🚀 The trick here is powering all the card animations with custom properties 🔥 .card--one { --r: -20deg; } .card--two { --r: 15deg; } .card--three { --r: -8deg; } One set of keyframes, with many results 🤙

Sebastian2 лет назад
im rdy to step up my css

jhey ▲🐻🎈2 лет назад
Every demo is a POC for getting that course out there eventually 😅 (Temporarily Figma Config fuel)

Vlad2 лет назад
We are a long way from the first sketch haha 😜 💙 @mboudoukhane 🫶

Arnob Dada2 лет назад
Looks awesome, @CycleProduct tagging just so you know ❤️💪

Anastasia 🍑.js2 лет назад
as usual - WOW 🤩

Rock$tar Singh2 лет назад
I can’t even figure out where to start, CSS has always been extremely overwhelming

Robert P. 🎯2 лет назад
You never fail to impress me. It's crazy what can be done with pure CSS.

Abdullah Abbasi2 лет назад
Absolutely WOW!!!

Endless Impossibility2 лет назад
Awesome as always.
