Loading video...

Video Failed to Load

Go Home

Scroll masking with CSS scroll animation as a progressive enhancement ⭐️ .scroller { animation: mask-up; animation-timeline: scroll(self); animation-range: 0 1rem; mask-composite: exclude; } @​keyframes mask-up { to { mask-size: 100% 120px, 100% 100%; } }

573,010 views • 2 years ago •via X (Twitter)

10 Comments

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

A refresh of this previous demo going through different scroll styles 🤙 (Video compression on that one 🙃) These little details become real fun to create with some of the new stuff we're getting on the <platform> 💯

Nicu Barbaros's profile picture
Nicu Barbaros2 years ago

How do you make that GUI for config?

‎‎ dev's profile picture
‎‎ dev2 years ago

man.. did you memorized entire mdn web docs? 😂

jhey ▲🐻🎈's profile picture
jhey ▲🐻🎈2 years ago

Haha - Feels like it sometimes 😅

rose :3's profile picture
rose :32 years ago

super small thing, but personally i think i'd prefer if the scrollbar itself wasn't getting masked,, i feel like it'd be more cohesive

Mario Souto - DevSoutinho's profile picture
Mario Souto - DevSoutinho2 years ago

How to you record the videos? 👀

AlexIsMaking's profile picture
AlexIsMaking2 years ago

Yes! This would also be a really cool effect to apply to an automatically scrolling list of items e.g. quotes 👀

Derrick's profile picture
Derrick2 years ago

Have you done a video for the blur effect on the scroll?

ƨergey's profile picture
ƨergey2 years ago

Could you share a codepen plz?

eeee's profile picture
eeee2 years ago

@readwise save thread

Related Videos