正在加载视频...

视频加载失败

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);}}

264,678 次观看 • 2 年前 •via X (Twitter)

9 条评论

jhey ▲🐻🎈 的头像
jhey ▲🐻🎈2 年前

Here's the @CodePen link 🤙

Wes Bos 的头像
Wes Bos2 年前

Oh man this is awesome! I’ve always loved that effect

omar 的头像
omar2 年前

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

George 的头像
George2 年前

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

dotenvx 的头像
dotenvx2 年前

this is dope. might steal.

aidrian 的头像
aidrian2 年前

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

jhey ▲🐻🎈 的头像
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

TheWatcher 的头像
TheWatcher2 年前

That is so brutal 💪🏼

TchikTchak.Crypto |.Ofweb3 的头像
TchikTchak.Crypto |.Ofweb32 年前

👏🔥😎

相关视频