FX-Partikel: Aufblitzen/Flackern beim Start beheben (animation-fill-mode both)

This commit is contained in:
schmop 2026-05-31 18:31:15 +02:00
parent 43b942f6b5
commit 86f69c7308

View File

@ -57,8 +57,8 @@
position: absolute; position: absolute;
border-radius: 50%; border-radius: 50%;
background: var(--color); background: var(--color);
transform: rotate(var(--angle)) translateY(0); /* both = der 0%-Zustand gilt schon vor dem ersten Tick → kein Aufblitzen/Flackern beim Start. */
animation: fly 0.7s ease-out forwards; animation: fly 0.7s ease-out both;
} }
@keyframes fly { @keyframes fly {
0% { transform: rotate(var(--angle)) translateY(0) scale(0.6); opacity: 1; } 0% { transform: rotate(var(--angle)) translateY(0) scale(0.6); opacity: 1; }