animation-duration
介绍
animation-duration 用于设置动画持续的时间。
使用示例
语法
形式定义
| 初始值 | 0s |
| 适用元素 | all elements |
| 是否支持继承 | no |
| 是否支持动画 | no |
形式语法
注意事项
Caution
- Lynx 默认
duration和delay需要有单位,无单位的写法可能会造成未定义的行为。
扩展阅读
- 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
