mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
313 B
CSS
18 lines
313 B
CSS
.scroll-up {
|
|
position: fixed;
|
|
z-index: 2;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
transition: transform 0.2s, opacity 0.2s;
|
|
cursor: pointer;
|
|
bottom: var(--gap-double);
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
.scroll-up-shown {
|
|
opacity: 0.8;
|
|
transform: none;
|
|
pointer-events: auto;
|
|
}
|