Horje
html scroll behavior Code Example
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/
html scroll behavior
html {
  scroll-behavior: smooth;
}

// scroll-behaviour option
auto => Allows a straight jump "scroll effect" between elements within the scrolling box. This is default
smooth => Allows a smooth animated "scroll effect" between elements within the scrolling box.
initial => Sets this property to its default value.
inherit	=> Inherits this property from its parent element.




Html

Related
bootstrap align right button Code Example bootstrap align right button Code Example
Text Code Example Text Code Example
group inputs html Code Example group inputs html Code Example
meta http-equiv x-ua-compatible Code Example meta http-equiv x-ua-compatible Code Example
read only attribute in html Code Example read only attribute in html Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8