Video wird geladen...
Video konnte nicht geladen werden
Scroll velocity CSS text-shadow 📜 1. Animate 2 custom properties on scroll 2. Transition one of the property values 3. Use the diff (velocity) for the text-shadow position 🤙 A CSS take on it.
111,954 Aufrufe • vor 1 Jahr •via X (Twitter)
10 Kommentare

jhey ▲🐻🎈vor 1 Jahr
the gist 👇

jhey ▲🐻🎈vor 1 Jahr
Hmm 🤔

Nir Galonvor 1 Jahr
😳 I didn’t decide yet if it’s beautiful or cringe, but I’m at 🤤 state in front of this post..

jhey ▲🐻🎈vor 1 Jahr
Ha - Yeah, it was just a mess around to see if it would work 😅

👻 Darío Gutiérrez 🎃vor 1 Jahr
Kwel effect!! Thanks for the gist.

Mick Coelhovor 1 Jahr
Wondering what that'd look like to create motion blur.

jhey ▲🐻🎈vor 1 Jahr
That's a good idea 💡 Perhaps with a filter intensity that gets applied 🤔

sanketvor 1 Jahr
wow

EIOvor 1 Jahr
Could you add svg filters to complete that effect?

jhey ▲🐻🎈vor 1 Jahr
Yeah - Wonder if splitting to multiple elements, using translate, and then applying a filter could be a move 🤔
