hermit-V2/assets/scss/_scroll.scss
2023-10-24 15:25:38 +00:00

16 lines
No EOL
244 B
SCSS

.scroll-up{
position: fixed;
bottom: 10%;
right: 2%;
z-index: 1;
opacity: 0;
transition: all 0.5s ease;
}
.hide{
opacity: 0;
transform: translateY(20px);
}
.show{
opacity: 1;
transform: translateY(0);
}