Smooth scroll
A lightweight script to animate scrolling to anchor links. Read the plugin documentation
How to use
This plugin works automatically after initialisation with anchor links, but if you need some customization, please visit github.com/cferdinandi/smooth-scroll for more information
a.btn.mr-2(href="#") To top
a.btn.mr-2(href="#footer") To bottom
<a class="btn btn-primary mr-2" href="#">To top</a>
<a class="btn btn-primary mr-2" href="#footer">To bottom</a>
Version 2.0.0, [email protected]