Use theanimation-iteration-countproperty to set the number of times the animation should run using CSS.
The following example sets the animation count to 2:
Live Demo
The above is the detailed content of Sets how many times the animation should run using CSS. For more information, please follow other related articles on the PHP Chinese website!