Smooth Scrolling Effects with only CSS

By August 29, 2020 CSS, HTML
Smooth Scroll

Today I will show you how we can achieve the smooth scroll effect using only css. Without any JavaScript.

Scroll Behavior

We are using the scroll-behavior CSS property tells the browser how to handle scrolling triggered by anchor links. So lets start coding without wasting your time. Also I will add YouTube link where I done same practical live.

Youtube Video

 

HTML Code