mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-22 17:25:40 +03:00
Need @supports check before doing scroll-driven animation
This commit is contained in:
parent
bc0197a5f1
commit
22abc2fb31
1 changed files with 5 additions and 3 deletions
|
@ -465,10 +465,12 @@
|
|||
margin-top: calc(-1 * var(--banner-overlap));
|
||||
}
|
||||
|
||||
@supports (animation-timeline: scroll()) {
|
||||
.header-banner:not(.header-is-avatar):not(:hover):not(:active) {
|
||||
animation: bye-banner 1s linear both;
|
||||
animation-timeline: scroll();
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
margin-top: -8px;
|
||||
|
|
Loading…
Reference in a new issue