Specify that the animation should complete one cycle in 3 seconds:
Note: Always specify the animation-duration property. Otherwise the duration is 0, and the animation will not be played.