css animation loop 3 times code example Example: css animation infinite loop div { animation-iteration-count: number|infinite|initial|inherit; }