# animation-play-state

animation-play-state CSS 属性设置动画是运行还是暂停。

# uni-app x 兼容性 ?

WebAndroidiOSHarmonyOS
VDOM Vapor VDOM Vapor VDOM Vapor
4.0x5.31x5.31x5.31

# App平台拍平(flatten)兼容性 ?

Android(Vapor) iOS(Vapor) HarmonyOS(Vapor)
5.31 5.31 x

# 语法

animation-play-state: <single-animation-play-state>#;

# animation-play-state 的属性值

名称 描述
paused 当前动画已被停止。
running 当前动画正在运行。

# 默认值

running

# 参见