animation-play-state
介绍
animation-play-state 属性定义一个动画是否运行或者暂停。
恢复一个已暂停的动画,将从它开始暂停的时候,而不是从动画序列的起点开始在动画。
使用示例
语法
形式定义
| 初始值 | running |
| 适用元素 | all elements |
| 是否支持继承 | no |
| 是否支持动画 | no |
形式语法
扩展阅读
- animation
- animation-name
- animation-duration
- animation-timing-function
- animation-delay
- animation-iteration-count
- animation-direction
- animation-fill-mode
- animation-play-state
- CSS 动画事件
- Animated API
兼容性
LCD tables only load in the browser
