Dump the Jump: Smooth Internal Links with scroll-behavior in CSS
The scroll-behavior property manages the behavior of scrolling when caused by navigation, or the invocation of a CSSOM scrolling method— scroll() , scroUTo() , scrollBy() , or scrollIntoView() . Other methods of scrolling, such as with a pointer device, aren’t affected by the scroll-behavior property. Initially, the value of scroll-behavior is auto . This value [ [ ...]