## animation-iteration-count animation-iteration-count CSS 属性设置动画序列在停止前应播放的次数 ### uni-app x 兼容性 Web: 4.0; Android(VDOM): x; Android(Vapor): 5.31; iOS(VDOM): x; iOS(Vapor): 5.31; HarmonyOS(VDOM): x; HarmonyOS(Vapor): 5.31 ### App平台拍平(flatten)兼容性 @flatten_compatibility | Android(Vapor) | iOS(Vapor) | HarmonyOS(Vapor) | | :- | :- | :- | | 5.31 | 5.31 | x | ### 语法 ``` animation-iteration-count: #; ``` ### animation-iteration-count 的属性值 | 名称 | 描述 | | :- | :- | | infinite | 无限循环播放动画。 | ### 默认值 @default-value `1` ### 参见 - [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/animation-iteration-count) - [相关 Bug](https://issues.dcloud.net.cn/?mid=css.properties.animation-iteration-count)