Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CSS3 Animation Repeat

Tags:

html

css

Is it possible to repeat this CSS3 Animation so once it has finished it continues? Any help is much appreciated.

jsFiddle

like image 817
James Avatar asked Dec 21 '12 17:12

James


People also ask

What is animation infinite?

infinite. The animation will repeat forever. <number> The number of times the animation will repeat; this is 1 by default. You may specify non-integer values to play part of an animation cycle: for example, 0.5 will play half of the animation cycle.

What is the property used to repeat the animation for 7 times?

The animation-iteration-count property in CSS is used to specify the number of times the animation will be repeated. It can specify as infinite to repeat the animation indefinitely.


1 Answers

Animation iteration count is what you are looking for.

animation-iteration-count: infinite;
-moz-animation-iteration-count: infinite;
-webkit-animation-iteration-count: infinite;
-o-animation-iteration-count: infinite;

updated fiddle: http://jsfiddle.net/HRP4n/1/

like image 185
Pow-Ian Avatar answered Oct 12 '22 23:10

Pow-Ian