When the animation is created in the @keyframe, bind it to a selector, otherwise, the animation will have no effect.

Bind the animation to a selector by specifying at least these two CSS3 animation properties: