Gezinmeyi atla
CSS Tip! ⚡️ You could use CSS trig functions to calculate animation-delay 🤓 Using them here with…
0:00 / 0:14

CSS Tip! ⚡️ You could use CSS trig functions to calculate animation-delay 🤓 Using them here with…

jhey ʕ•ᴥ•ʔ

@jh3yy148 B takipçi

X profili

182.636 görüntüleme

CSS Tip! ⚡️ You could use CSS trig functions to calculate animation-delay 🤓 Using them here with custom props for this DNA strand! 👩‍🔬 .node { animation-delay: calc( sin((var(--index) / var(--total)) * 45deg) 👈 * var(--speed) * -1s ); } CodePen.IO link below! 👇

Yorumlar

Yorumlar X (Twitter) üzerindeki orijinal gönderiden alınmıştır

Henüz yorum yok