CSS scroll-behavior Property
The scroll-behavior property sets the behavior for a scrolling box when scrolling is triggered by the navigation or CSSOM scrolling APIs.
Note: That any other scrolls, such as those performed by the user, are not affected by this property.
When this property is specified on the root element, it applies to the viewport instead. This property specified on the <body> element will not propagate to the viewport.
|CSSOM View Module (Working Draft)
The numbers in the table specify the first browser version that fully supports the property.
The following table describes the values of this property.
|This is default value. The scrolling box scrolls instantly.
|The scrolling box scrolls in a smooth fashion using a user-agent-defined timing function over a user-agent-defined period of time.
|Sets this property to its default value.
|If specified, the associated element takes the computed value of its parent element animation-delay property.
|Reverts the cascaded value of the property from its current value to the value the property
|Rollback styles to the ones specified in previous cascade layers.
|Resets a property to its inherited value if the property naturally inherits from its parent, and to its initial value if not.
Default CSS Property Values