--- title: animation-iteration-count slug: Web/CSS/animation-iteration-count tags: - CSS - CSS Animations - CSS Property - Experimental - Reference translation_of: Web/CSS/animation-iteration-count ---
La propiedad CSS animation-iteration-count define el numero de veces que un ciclo de animación debe ser ejecutado antes de detenerse.
A menudo es conveniente utilizar la propiedad {{ cssxref("animation") }} para ajustar todas las propiedades de animación a la vez.
{{cssinfo}}
Sintaxis formal: {{csssyntax("animation-iteration-count")}}
animation-iteration-count: infinite; animation-iteration-count: 3; animation-iteration-count: 2.3; animation-iteration-count: 2, 0, infinite;
infinite<number>Ver ejemplos CSS animations.
| Especificaciones | Estado | Comentario |
|---|---|---|
| {{ SpecName('CSS3 Animations', '#animation-iteration-count', 'animation-iteration-count') }} | {{ Spec2('CSS3 Animations') }} |
{{ CompatibilityTable() }}
| Caracteristica | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
|---|---|---|---|---|---|
| Soporte básico | {{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }} | {{ CompatGeckoDesktop("5.0") }}{{ property_prefix("-moz") }} {{ CompatGeckoDesktop("16.0") }} |
10 | 12 {{ property_prefix("-o") }} 12.10 # |
4.0{{ property_prefix("-webkit") }} |
| Caracteristicas | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
|---|---|---|---|---|---|
| Soporte básico | {{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }} | {{ CompatGeckoMobile("5.0") }}{{ property_prefix("-moz") }} {{ CompatGeckoMobile("16.0") }} |
{{ CompatUnknown() }} | {{ CompatUnknown() }} | {{ CompatUnknown() }} |