mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-22 18:20:36 +03:00
better appear detection animation
This commit is contained in:
@@ -103,11 +103,12 @@ $shrink-scale: 0.1;
|
|||||||
transition: none;
|
transition: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// choose the most lightweight animatable css prop: https://csstriggers.com/
|
||||||
@keyframes os-size-observer-appear-animation {
|
@keyframes os-size-observer-appear-animation {
|
||||||
from {
|
from {
|
||||||
z-index: 0;
|
cursor: auto;
|
||||||
}
|
}
|
||||||
to {
|
to {
|
||||||
z-index: -1;
|
cursor: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user