The button scrolls first to H1 (if it is not, then it scrolls to the height of the screen), then it works like a scroll up.
-
Updated
Oct 11, 2020 - HTML
The button scrolls first to H1 (if it is not, then it scrolls to the height of the screen), then it works like a scroll up.
To associate your repository with the button-scrolls topic, visit your repo's landing page and select "manage topics."