How to control JS smooth scroll speed from anchor tag

前端 未结 0 978
暖寄归人
暖寄归人 2021-01-15 22:20

I\'m trying to figure out a way of controlling the speed of my smooth scroll when a user clicks on an anchor tag. Here is my code so far:

document.querySelect         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题