Created
June 25, 2019 06:29
-
-
Save Blucknote/e9ef528e5120fef5d987b9254fa8dd26 to your computer and use it in GitHub Desktop.
jquery scroll to elemant
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('html, body').animate({scrollTop: $(selector).offset().top}, 300); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment