DEV Community

Discussion on: Pure CSS Smooth-Scroll "Back to Top"

Collapse
 
mah-rye-kuh profile image
Marijke Luttekes

Thank you! I love scroll-to-top links and have been wanting a more graceful solution for this. This looks very good.

I also love smooth scroll, I only recently read that people who are sensitive to movement might have prefers-reduced-motion flag on, and you would disable smooth scrolling for them. I haven't read into it further yet, but so far it seems to make sense.

Collapse
 
5t3ph profile image
Stephanie Eckles

Really good point on motion sensitivities, I'll update to include that! Glad you found this useful ๐Ÿ’•