предотвратить сброс анимации CSS
.animationElem {
animation: something 1s;
animation-fill-mode: forwards;
/*webkit*/
-webkit-animation-fill-mode: forwards;
}
Pandata