how to pause animation when finished css code example
Example: css pause animation
/* 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;