Elegant Scroll to Top - Back to top JavaScript plugin example – Button Size: normal

You can check out the code below to set the parameters.
Button Size: normal
Example code
<link rel="stylesheet" href="http://your-domain.com/elegant-scroll-to-top/css/elegant-scroll-to-top.min.css">
<script src="http://your-domain.com/elegant-scroll-to-top/js/elegant-scroll-to-top.min.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function() {
    var elegantScrollToTop = new ElegantScrollToTop({        
        width: '48px',
        height: '48px'
    });
    elegantScrollToTop.init();
});
</script>
Related options
Peoprty Possible Values Default Value Description
width e.g. null, '48px', '56px', '60px', etc. null The width of the button.
height e.g. null, '48px', '56px', '60px', etc. null The height of the button.