Navigation überspringen
CSS custom props and scroll animation for staggered effects 🤙
0:00 / 0:11

CSS custom props and scroll animation for staggered effects 🤙

32.781 Aufrufe

CSS custom props and scroll animation for staggered effects 🤙 h2 { animation: show; animation-timeline: view(); } .char { translate: 0 calc((1 - var(--s)) * 1lh); transition: translate 0.5s calc(sin(var(--i) / var(--t) * 45deg) * 0.5s); } @​keyframes show { to { --s: 1; }}

Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

Noch keine Kommentare