#animation-iteration-count
Defines how many times the animation is played.
默认属性
animation-iteration-count: 1;
The animation will only play once.
animation-iteration-count: 2;
You can use integer values to define a specific amount of times the animation will play.
animation-iteration-count: infinite;
By using the keyword infinite
, the animation will play indefinitely.