In brief
animation combines CSS animation settings, including name, duration and repetition. Its name must match defined @keyframes to provide styles to run.
Useful to know
animation combines CSS animation settings, including name, duration and repetition. Its name must match defined @keyframes to provide styles to run. [1]
In the shorthand, omitted settings return to initial values. A later animation declaration can therefore unexpectedly change repetition or direction. Check the complete declaration rather than the name alone.
Sources
For further detail and to check the information: