正在加载视频...
视频加载失败
CSS scroll to decrypt 🤖 The trick is translating text on scroll within a clipped element ✨ (Watch 🎞️) .char { animation: t both steps(10); animation-timeline: --heading; animation-range: contain calc(var(--i) * 1%)...; } @keyframes t { to { translate: 0 calc(100% - 1lh);}}
9 条评论

jhey ▲🐻🎈2 年前
Here's the @CodePen link 🤙

Wes Bos2 年前
Oh man this is awesome! I’ve always loved that effect

omar2 年前
I did similar effect before, but wow this looks way better hooolyyy 👏🫡

George2 年前
I love what CSS can do now. Vanilla is the way to go 👏🏻

dotenvx2 年前
this is dope. might steal.

aidrian2 年前
Looks amazing, but it doesn't work in firefox 🥲

jhey ▲🐻🎈2 年前
It won't. Firefox doesn't have CSS scroll animation yet. Neither does Safari 🥲 Would have to polyfill with something like GSAP ScrollTrigger

TheWatcher2 年前
That is so brutal 💪🏼

TchikTchak.Crypto |.Ofweb32 年前
👏🔥😎
