breaking JS for scroll-to-top
-
Hi Ben, I hope you are well. I used code
* { scroll-behavior: smooth; }
for some links. But this was a problem for scroll-to-top. When clicked, it waits for a while and then accelerates. It moves slowly at first and then returns to normal. I think it does with js what can be done with css. Is there a way to override scrolling js scripts?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘breaking JS for scroll-to-top’ is closed to new replies.