Smooth Scroll to Top and Bottom.
Simple and Easy to use.
Pure JavaScript Library.
The source code is licensed MIT.
https://labs.manohara.info/simplescroll/
https://labs.manohara.info/simplescroll/
<script defer src='path/to/simpleScroll.js' id="script_simplescroll"></script>
<script defer src='path/to/simpleScroll.js' id="script_simplescroll" data-color="white" data-border="black" data-bordersize="10" data-size="33"></script>
data-color: Icon color,String (default: grey)
data-border: Icon border color,String (default: white)
data-bordersize: Icon border width,Numeric (default(px): 1)
data-size: Icon size,Numeric (default(px): 35)
<script defer src='https://cdnjs.cloudflare.com/ajax/libs/iamdustan-smoothscroll/0.4.0/smoothscroll.min.js'></script>