Video wird geladen...
Video konnte nicht geladen werden
you can create this dynamic mask using a progressive CSS scroll-driven animation 🧑🍳 the gist 👇 input { animation: in; animation-timeline: scroll(self inline); animation-range: 0 6ch; mask-position: 0 0; } @keyframes in { 0% { mask-position: -6ch 0; }}
125,904 Aufrufe • vor 1 Jahr •via X (Twitter)
5 Kommentare

Sam Beckervor 1 Jahr
So rad! Would this work for any container with content that overflows?

jhey ▲🐻🎈vor 1 Jahr
yep – as a progressive enhancement currently 🥲 adaptation of this one but couldn't resist with that neat design as an opportunity for scroll(self inline) 🤓

César Coutovor 1 Jahr
Smooth and lovely detail to add to inputs ;)

abelardoit🐦vor 1 Jahr
How did you make the animation returns to the initial position back, please?

Moescape AIvor 1 Jahr
Sign up & create wholesome anime art on Moescape AI now!
