mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-11-13 20:39:43 +00:00
24 lines
No EOL
413 B
SCSS
24 lines
No EOL
413 B
SCSS
// ==============================
|
|
// 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;
|
|
}
|
|
} |