![]() |
VOOZH | about |
This property is used for smooth animation of scroll position instead of a scroll jump. When the user clicks on links it smoothly performs its operation. It is used to visit one link to another link within a scrollable box.
Syntax:
scroll-behavior: auto|smooth|initial|inherit;Default Value: auto
Property:
Example: In this example, we use scroll-behavior: smooth; property.
Output:
Example: In this example, we are using scroll-behavior: auto; property.
Output:👁 Image
Supported Browsers: The browsers supported by scroll-behavior Property are listed below: