scroll-behavior

Initial value auto
Applies to scrolling boxes

Syntax

  
scroll-behavior: smooth;
  

Values

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. User agents should follow platform conventions, if any.

Browser support

scroll-behaviorchrome61edge79firefox36ieopera48safari14

We use cookies to improve your experience. Learn more in our Privacy policy.

×