mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-25 18:55:44 +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,9 +465,11 @@
|
|||
margin-top: calc(-1 * var(--banner-overlap));
|
||||
}
|
||||
|
||||
.header-banner:not(.header-is-avatar):not(:hover):not(:active) {
|
||||
animation: bye-banner 1s linear both;
|
||||
animation-timeline: scroll();
|
||||
@supports (animation-timeline: scroll()) {
|
||||
.header-banner:not(.header-is-avatar):not(:hover):not(:active) {
|
||||
animation: bye-banner 1s linear both;
|
||||
animation-timeline: scroll();
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
|
|
Loading…
Reference in a new issue