Загрузка видео...

Не удалось загрузить видео

На главную

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 лет назад

👏🔥😎

Похожие видео