I need to create a floating button that accompanies my scroll as I'm rolling, and in it I want to put a function back to the top.
#voltarAoTopo {
float:right;
z-index:0;
}
<button id="voltarAoTopo">
<i class="material-icons">contacts</i>
</button>