Elegant Scroll to Top - Back to top JavaScript plugin example – Button Shape: rounded

You can check out the code below to set the parameters.
Button Shape: rounded
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>
document.addEventListener('DOMContentLoaded', function() {
    var elegantScrollToTop = new ElegantScrollToTop({        
        borderRadius: '999px'
Related options
Peoprty Possible Values Default Value Description
borderRadius e.g. '0px', '4px', '50%', '999px', '12px 0px 12px 0px', etc. '999px' The radius of border for the button.