Woah! that's really useful actually!!
Thanks!
And do not forget to satisfy user preferences with prefers-reduced-motion.
top g !!!!!!!!
Or you can just do html { scroll-behavioe:smooth; }
Omg and now you're doing shorts. Love to see it.
But then if they refresh the page, they won't be on the anchor link they clicked
If the element is in another page then how do i scroll to that page's element?
@gamingmhejz8410