Answers for "scroll html js"

12

smooth scroll css

html {
  scroll-behavior: smooth;
}

/* No support in IE, or Safari
You can use this JS polyfill for those */
http://iamdustan.com/smoothscroll/
Posted by: Guest on March-18-2020
3

javascript scroll down

window.scrollTo(300, 500);	//X=300 and Y=500
Posted by: Guest on May-22-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language