Skip to content
On this page

Animation Iteration Count

ClassProperties (MDN)
animate-infiniteanimation-iteration-count: infinite;
animate-repeat-[n]animation-iteration-count: n;

Here [n] is one of 0..12. You can also use arbitrary values instead.

Examples

html
<div class="animate-repeat-5">Foo</div>
<div class="animate-repeat-[14]">Bar</div>

Released under the MIT License.