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.
24 lines
413 B
24 lines
413 B
// ============================== |
|
// 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; |
|
} |
|
}
|
|
|