Check out example codes for "css stopper une animation". It will help you in understanding the concepts better.

Code Example 1

/* On a une seule animation */
animation-play-state: running;
animation-play-state: paused;

/* On gère plusieurs animations */
/* avec des valeurs respectives */
animation-play-state: paused, running, running;

/* Valeurs globales */
animation-play-state: inherit;
animation-play-state: initial;
animation-play-state: unset;

Code Example 2

/* Pour la compatibilité avec tous les navigateurs : */
-webkit-animation-play-state:paused;
-moz-animation-play-state:paused;
-o-animation-play-state:paused;
animation-play-state:paused;

Learn ReactJs, React Native from akashmittal.com