Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

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/
 
PREVIOUS NEXT
Tagged: #smooth #scroll #css
ADD COMMENT
Topic
Name
9+6 =