正在加载视频...
视频加载失败
You can create CSS-only scroll indicators without new APIs 🤙 .scroller { background: var(--cover) local, var(--shadow) scroll; } background-attachment: local makes a background scroll with its content. Use that to cover a shadow ⭐️ Neat little trick! 🫶
10 条评论

jhey ▲🐻🎈1 年前
Good write up on what's happening in this demo in this post from 2012! 🤙

Ana Tudor 🐯🖤🌻1 年前
I still recall this trick from @LeaVerou

jhey ▲🐻🎈1 年前
@LeaVerou That's a good write up. Thanks for sharing 🙏 Before I even started playing with CSS. That's a testament to the browser support! 😅

bertug1 年前
something i added to it, column captions. definitely could be delivered smoother😅

Mikel1 年前
Do you have a link to the codepen? 🙏

Januario1 年前
Brother a course from you would be awesome, literally guiding us from the ground up, starting from basic variables to a more complex way of thinking, I'm pretty sure you can completely change the way we think and do things in CSS (or animations in general).

Sam 👀🚀1 年前
@officialnilaxy

N!LAXY1 年前
@realHerrSammy @InFeCtedEv_

Dawnvox1 年前
nice little trick!

Diu1 年前
u'r real CSS Master
