To add a "smooth scrolling" effect to a site, simply add this code to your CSS:
html {
scroll-behavior: smooth;
}
This looks cool when you have links on your page that jump you to anchor tags!
To add a "smooth scrolling" effect to a site, simply add this code to your CSS:
html {
scroll-behavior: smooth;
}
This looks cool when you have links on your page that jump you to anchor tags!