You are here : cssCSS 3animation

animation - CSS 3

The animation property is a shorthand property for eight of the animation properties:Note: Always specify the animation-duration property, otherwise the duration is 0, and will never be played.


Syntax

animation: name duration timing-function delay iteration-count 
direction fill-mode play-state;


Example

div
	{
        -webkit-animation: mymove 5s infinite; /* Chrome, Safari, Opera */
	   
	animation: mymove 5s infinite;
	}


Output / Return Value


Limitations


Alternatives / See Also


Reference