mirror of https://github.com/IoTcat/kayo.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
413 B
25 lines
413 B
4 years ago
|
// ==============================
|
||
|
// Back to top
|
||
|
// =============================
|
||
|
|
||
|
.back-to-top {
|
||
|
display: none;
|
||
|
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);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@include max-screen() {
|
||
|
.back-to-top {
|
||
|
display: none !important;
|
||
|
}
|
||
|
}
|