Loading video...

Video Failed to Load

Go Home

What if the scrollbar went around the corner? 👀 CSS could do that ✨

847,069 views • 2 years ago •via X (Twitter)

10 Comments

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

Don't be put off by the JavaScript 😅 It's there for generating SVG paths, etc. based on updated user configuration 🤙 It's also there to cover where CSS scroll-driven animations don't work ✨

Anatoly Lobkov's profile picture
Anatoly Lobkov2 years ago

When at the top of a list, the user may not understand the meaning of the small white circle until they interact. But at the same time, what prevents us from supporting the evolution of user experience hehehe

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

Magic here is that scroll-snap means it won't sit in the circle mode 😎 That only appears when you scroll past the snap points ✨

Ritika Agrawal's profile picture
Ritika Agrawal2 years ago

🤯 The code please!

Dany's profile picture
Dany2 years ago

Ok devs stop everything you're building and make this industry standard.

Shubham Verma🌱's profile picture
Shubham Verma🌱2 years ago

If you ever release a in-depth advanced css course, I'd get it within a minute. Absolute🐐

Álvaro Montoro's profile picture
Álvaro Montoro2 years ago

stroke-dashoffset with scroll-driven animations?

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

Will clean up the code and get it out there 🤙 Pretty much yeah, some scroll-snap, scroll animation, and SVG 😎

Artur Bień's profile picture
Artur Bień2 years ago

Nice! One missing detail - the scrollbar thumb should get thicker as it shrinks 🤓

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

Yeah, didn't like that detail so skipped it out 😅 Seems I wasn't the only one. Might add it as an option. Jus requires adding stroke-width into the keyframe ✨ Was more concerned with hacking something up that would work responsively in the end 😁

Related Videos