Video wird geladen...
Video konnte nicht geladen werden
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 Aufrufe • vor 2 Jahren •via X (Twitter)
10 Kommentare

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 🤙

im rdy to step up my css

Every demo is a POC for getting that course out there eventually 😅 (Temporarily Figma Config fuel)

We are a long way from the first sketch haha 😜 💙 @mboudoukhane 🫶

Looks awesome, @CycleProduct tagging just so you know ❤️💪

as usual - WOW 🤩

I can’t even figure out where to start, CSS has always been extremely overwhelming

You never fail to impress me. It's crazy what can be done with pure CSS.

Absolutely WOW!!!

Awesome as always.
