An animation takes place when the style of an element changes.
To use the animation by CSS3 we have to define some keyframes. These @keyframes will be having the styles of an element at particular time.
For the CSS3 animation we need to specify the animation-name, animation-duration, animation-delay, animation-duration, animation-iteration-count etc.
Below is the example of "loading" using CSS3 keyframes:-