“Css3 pr transition delay”的版本间差异
本页内容
(创建页面,内容为“{{DISPLAYTITLE:transition-delay}}5 = CSS3 transition-delay 属性 = 等待2秒前切换效果开始: <sample title="" desc="" lang="html" hererun="1"> transition-delay: 2s; -webkit-transition-delay: 2s; →Safari: </sample> <run name=""> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>小白教程(xiaobai.wang)</title> <style> div { width:100px; height:100px; background:red; transition-p…”) |
无编辑摘要 |
||
第56行: | 第56行: | ||
{| class="table table-striped table-hover" | {| class="table table-striped table-hover" | ||
! 属性 | ! 属性 | ||
! | ! Chrome | ||
! | ! Internet Explorer / Edge | ||
! | ! Firefox | ||
! | ! Safari | ||
! | ! Opera | ||
|- | |- | ||
| transition-delay | | transition-delay |
2022年8月19日 (五) 04:38的版本
CSS3 transition-delay 属性
等待2秒前切换效果开始:
示例
transition-delay: 2s;
-webkit-transition-delay: 2s; /* Safari */
浏览器支持
表格中的数字表示支持该属性的第一个浏览器版本号。
紧跟在 -webkit-, -ms- 或 -moz- 前的数字为支持该前缀属性的第一个浏览器版本号。
属性 | Chrome | Internet Explorer / Edge | Firefox | Safari | Opera |
---|---|---|---|---|---|
transition-delay | 26.04.0 -webkit- | 10.0 | 16.04.0 -moz- | 6.13.1 -webkit- | 12.110.5 -o- |
属性定义及使用说明
transition-delay 属性指定何时将开始切换效果。
transition-delay值是指以秒为单位(S)或毫秒(ms)。
默认值: | 0 |
继承: | no |
版本: | CSS3 |
JavaScript 语法: | object.style.transitionDelay="2s" |
语法
transition-delay: time;
值 | 描述 |
---|---|
time | 指定秒或毫秒数之前要等待切换效果开始 |