Lets you define the behavior of a scrolling element (instant scrolling or smooth transition) when scrolling is via navigation or a scrolling API. User scrolling is not affected.
For a live demo of the scroll-behavior
property, open this CodePen in a supporting browser.