2022-05-29 518
CSS animation-delay 属性 运动,动画元素,div
实例
等待两秒,然后开始动画:
div { animation-delay:2s; -webkit-animation-delay:2s; /* Safari 和 Chrome */ }
定义和用法
animation-delay 属性定义动画何时开始。
animation-delay 值以秒或毫秒计。
提示:允许负值,-2s 使动画马上开始,但跳过 2 秒进入动画。
默认值: | 0 |
继承性: | no |
版本: | CSS3 |
JavaScript 语法: | object.style.animationDelay="2s" |
语法
animation-delay: time;
值 | 描述 |
time | 可选。定义动画开始前等待的时间,以秒或毫秒计。默认值是 0。 |
animation-delay 属性。
原文链接:https://77isp.com/post/1022.html
=========================================
https://77isp.com/ 为 “云服务器技术网” 唯一官方服务平台,请勿相信其他任何渠道。
数据库技术 2022-03-28
网站技术 2022-11-26
网站技术 2023-01-07
网站技术 2022-11-17
Windows相关 2022-02-23
网站技术 2023-01-14
Windows相关 2022-02-16
Windows相关 2022-02-16
Linux相关 2022-02-27
数据库技术 2022-02-20
抠敌 2023年10月23日
嚼餐 2023年10月23日
男忌 2023年10月22日
瓮仆 2023年10月22日
簿偌 2023年10月22日
扫码二维码
获取最新动态