The scrollTop function deletes the
Or not, a great god
CodePudding user response:
CodePudding user response:
1. Through CSS implementation:For at the top of the page, such as the box body or set themselves up with a unique id attribute
2. Js implementation
By setting the TAB scroll position judgment
Document. The body. The scrollTop=0;