Back to Top Button

This commit is contained in:
aggelosQQ 2016-08-30 01:27:23 +03:00
parent 0f8191eee3
commit cd21647b61
3 changed files with 19 additions and 2 deletions

View file

@ -76,4 +76,19 @@ hr {
height: 20px;
margin-right: 5px;
float: left;
}
.top {
position: fixed;
bottom: 15px;
right: 15px;
font-size: 3em;
color: rgba(178,34,34,0.6);
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.top:hover {
color: rgba(178,34,34,1);
}

View file

@ -1,4 +1,4 @@
$(document).ready(function() {
$(".button-collapse").sideNav();
});
});

View file

@ -295,5 +295,7 @@
</div>
</div>
<a href="#" class="top"><i class="fa fa-chevron-up icon"></i></a>
</body>
</html>