Gezinmeyi atla
The CSS trick here is using custom properties to drive your CSS animation behavior 🤙 Doesn't have to…
0:00 / 0:38

The CSS trick here is using custom properties to drive your CSS animation behavior 🤙 Doesn't have to…

jhey ʕ•ᴥ•ʔ

@jh3yy146 B takipçi

X profili
2.197 beğeniİndirOrijinal gönderi

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 profil fotoğrafı

    @ComputerGoBrr

    You are a black magic-peddling magician

  • Arc Terminus profil fotoğrafı

    @ArcTerminus

    You are a CSS god. 🫡

  • Jorge Galarza profil fotoğrafı

    @jorsisu

    That's a lot of opened tabs