# animation-play-state

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

# uni-app x 兼容性 ?

Android(VDOM) Android(Vapor) iOS(VDOM) iOS(Vapor) HarmonyOS(VDOM) HarmonyOS(Vapor)
x 5.25 x 5.25 x 5.25

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

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

# 语法

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

# animation-play-state 的属性值

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

# 默认值

running

# 参见