mixin for back to top button
Download node at nodejs.org and install it, if you haven't already.
npm install elr-scss-back-to-top
or
yarn add elr-scss-back-to-top
.elr-back-to-top {
@include elr-back-to-top;
}
<button class="elr-back-to-top">
<i class="fas fa-caret-up"></i>
</button>
SEE LICENSE IN LICENSE.md