Загрузка видео...
Не удалось загрузить видео
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 просмотров • 2 лет назад •via X (Twitter)
Комментарии: 10

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> 💯

How do you make that GUI for config?

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

Haha - Feels like it sometimes 😅

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

How to you record the videos? 👀

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

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

Could you share a codepen plz?

@readwise save thread
