Learn how to create a smooth scrolling effect with CSS.
Read on how to do it in this tutorial: https://www.w3schools.com/howto/howto_css_smooth_scroll.asp
Try it yourself here: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_smooth_scroll_jquery
Tip: Read more about the scroll-behavior property in our CSS Reference: CSS scroll-behavior Property.