In this example the style for the <p> element specifies that the animation should take 3 seconds to execute from start to finish, using the animation-duration property, and that the name of the @keyframes at-rule defining the keyframes for the animation sequence is named “slidein”.
Making it repeat
Making it repeat
To make the animation repeat itself, use the animation-iteration-count property to indicate how many times to repeat the animation.