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.
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-motionflag 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.Really good point on motion sensitivities, I'll update to include that! Glad you found this useful ๐