In brief
animation-iteration-count sets how many times a sequence runs. Fractional values are allowed alongside integers, while infinite repeats continuously.
Useful to know
animation-iteration-count sets how many times a sequence runs. Fractional values are allowed alongside integers, while infinite repeats continuously. [1]
For a brief confirmation, do not choose endless motion by habit. Match repetition to purpose and reduced-motion preferences. Finishing execution and retaining a final visual style are separate settings.
Sources
For further detail and to check the information: