The correct answer is: B. animation-iteration-count
The animation-iteration-count
property is used to define the number of times an animation should play. It can be set to a number, or to the keywords “infinite” or “normal”. If it is set to a number, the animation will play that number of times. If it is set to “infinite”, the animation will play forever. If it is set to “normal”, the animation will play once.
The animation-direction
property is used to define the direction in which an animation should play. It can be set to the keywords “normal”, “reverse”, or “alternate”. If it is set to “normal”, the animation will play in the forward direction. If it is set to “reverse”, the animation will play in the reverse direction. If it is set to “alternate”, the animation will play in the forward direction, then in the reverse direction, and so on.
The animation
property is used to define an animation. It takes a list of properties, which define the animation’s timing, duration, and so on. The animation-timing-function
property is one of the properties that can be used in the animation
property. It is used to define the function that will be used to calculate the animation’s timing.