transform describes the elements of a static style.
transition and animation can achieve animation effects
The difference is:
1. different trigger conditions. transition is usually used in conjunction with other events and hover, triggered by an event. animiation the gif dynamic map and play almost immediately.
2. cycle. animation cycles can be set.
3. accuracy. animation style and time can be set for each frame. tranistion only