ScanSkill

scroll-behavior

The scroll-behaviour specifies the scroll animation when a link is clicked within a scrollable box.

Syntax

scroll-behavior: auto | smooth;

Property Values

auto: animates a straight jump scroll effect between the elements within the scrolling box. (Default value)

smooth: animates a smooth scroll effect between elements within the scrolling box.