animation-name
介绍
animation-name 属性指定应用的一系列动画,每个名称代表一个由@keyframes 定义的动画序列。
使用示例
语法
Info
每一个 animation-name 的标识符都是由区分大小写的字母 a 到 z、数字 0 到 9、下划线(_)和/或破折号(-)组成。第一个非破折号字符必须是一个字母。此外,标识符的开头不能有两个破折号 (-)。
形式定义
| 初始值 | none |
| 适用元素 | 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
