Animation Iteration count

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

CSS3 animation iteration count Property


Play the animation three times:

div {
    -webkit-animation-iteration-count: 3; /* Safari 4.0 - 8.0 */
    animation-iteration-count: 3;


Definition and Usage

The animation-iteration-count property specifies the number of times an animation should be played.

CSS Syntax

animation-iteration-count: number|infinite|initial|inherit;