Add Tsu theme
This commit is contained in:
13
themes/hexo-theme-Tsu/source/styles/back-to-top.styl
Normal file
13
themes/hexo-theme-Tsu/source/styles/back-to-top.styl
Normal file
@@ -0,0 +1,13 @@
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
transition-property: transform;
|
||||
transition-timing-function: ease-out;
|
||||
transition-duration: 0.3s;
|
||||
z-index: 10;
|
||||
|
||||
&:hover {
|
||||
transform: translateY(-5px);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user