backtotop

This commit is contained in:
troy
2022-02-14 12:23:22 +01:00
parent 8170b81554
commit d318faca2c
7 changed files with 104 additions and 7 deletions

24
backtotop.css Normal file
View File

@@ -0,0 +1,24 @@
#back_to_top {
position: fixed;
bottom: 40px;
right: 40px;
z-index: 9999;
width: 30px;
height: 30px;
text-align: center;
line-height: 30px;
background: #f5f5f5;
color: #444;
cursor: pointer;
border-radius: 15px;
padding-top: 4px;
display: none;
}
#back_to_top:hover {
background: #e9ebec;
}
#back_to_top.back_to_top-show {
display: block;
}