mirror of
https://github.com/TotalFreedomMC/Website.git
synced 2024-12-22 16:25:12 +00:00
Back to Top Button
This commit is contained in:
parent
0f8191eee3
commit
cd21647b61
3 changed files with 19 additions and 2 deletions
|
@ -76,4 +76,19 @@ hr {
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-right: 5px;
|
margin-right: 5px;
|
||||||
float: left;
|
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);
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$(".button-collapse").sideNav();
|
$(".button-collapse").sideNav();
|
||||||
});
|
|
||||||
|
});
|
|
@ -295,5 +295,7 @@
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<a href="#" class="top"><i class="fa fa-chevron-up icon"></i></a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue