跳过导航
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 ʕ•ᴥ•ʔ

@jh3yy15万 位关注者

在 X 上查看

182,636 次观看

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! 👇

评论

评论来自 X (Twitter) 上的原帖

暂无评论