FX-Partikel: Aufblitzen/Flackern beim Start beheben (animation-fill-mode both)
This commit is contained in:
@@ -57,8 +57,8 @@
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
background: var(--color);
|
||||
transform: rotate(var(--angle)) translateY(0);
|
||||
animation: fly 0.7s ease-out forwards;
|
||||
/* both = der 0%-Zustand gilt schon vor dem ersten Tick → kein Aufblitzen/Flackern beim Start. */
|
||||
animation: fly 0.7s ease-out both;
|
||||
}
|
||||
@keyframes fly {
|
||||
0% { transform: rotate(var(--angle)) translateY(0) scale(0.6); opacity: 1; }
|
||||
|
||||
Reference in New Issue
Block a user