mirror of
https://git.adityakumar.xyz/blog.git
synced 2024-12-22 18:02:52 +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;
|
|
}
|
|
} |