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

You can check out the code below to set the parameters.
Button Shape: special
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({        
        borderRadius: '24px 0 24px 0'
    });
    elegantScrollToTop.init();
});
</script>
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.