Back To Top HTML with CSS

 <a href="#movetop" class="move-top text-center">
        <span class="icofont-swoosh-up icofont-2x" aria-hidden="true"></span>
</a>

 

 -----------------------CSS--------------------------------------

a.move-top {
    position: fixed;
    bottom: 3%;
    right: 2%;
    z-index: 100;
    background: royalblue;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
a.move-top:hover {background: yellow !important;}

Post a Comment

0 Comments