animation-delay:2s;
-webkit-animation-delay:2s; /* Safari and Chrome */
![]()
![]()
![]()
![]()
![]()
Internet Explorer 10, Firefox, 和 Opera都支持animation-delay 属性.
Safari和Chrome通过私有属性-WebKit-animation-delay支持。.
注意: Internet Explorer 9及更早IE版本不支持animation-delay 属性。.
animation-delay 属性定义动画什么时候开始。
animation-delay 值单位可以是秒(s)或毫秒(ms)。
提示: 允许负值,-2s 使动画马上开始,但跳过 2 秒进入动画。
| 默认值: | 0 |
|---|---|
| 继承: | no |
| 版本: | CSS3 |
| JavaScript 语法: | object object.style.animationDelay="2s" |
CSS3 教程: CSS3 动画