The CSS trick here is using custom properties to drive your CSS animation behavior 🤙 Doesn't have to…
jhey ʕ•ᴥ•ʔ
X profili@jh3yy146 B takipçi
239.989 görüntüleme
The CSS trick here is using custom properties to drive your CSS animation behavior 🤙 Doesn't have to be a scroll animation
li:nth-of-type(odd) { --x: -4ch; }
li:nth-of-type(even) { --x: 4ch; }
@keyframes shift {50% { translate: var(--x) 0; }}
Updates at runtime 🚀
3 Yorum
Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

@ComputerGoBrr
You are a black magic-peddling magician

@ArcTerminus
You are a CSS god. 🫡

@jorsisu
That's a lot of opened tabs
