欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

CSS3 animation-delay 屬性

實(shí)例

等待兩秒,然后開始動(dòng)畫:

div
{
animation-delay:2s;
-webkit-animation-delay:2s; /* Safari 和 Chrome */
}

親自試一試

瀏覽器支持

Internet Explorer 10、Firefox 以及 Opera 支持 animation-delay 屬性。

Safari 和 Chrome 支持替代的 -webkit-animation-delay 屬性。

注釋:Internet Explorer 9 以及更早的版本不支持 animation-delay 屬性。

定義和用法

animation-delay 屬性定義動(dòng)畫何時(shí)開始。

animation-delay 值以秒或毫秒計(jì)。

提示:允許負(fù)值,-2s 使動(dòng)畫馬上開始,但跳過 2 秒進(jìn)入動(dòng)畫。

默認(rèn)值: 0
繼承性: no
版本: CSS3
JavaScript 語法: object.style.animationDelay="2s"

語法

animation-delay: time;
描述 測(cè)試
time 可選。定義動(dòng)畫開始前等待的時(shí)間,以秒或毫秒計(jì)。默認(rèn)值是 0。 測(cè)試

親自試一試 - 實(shí)例

負(fù)值,請(qǐng)注意動(dòng)畫跳過 2 秒進(jìn)入動(dòng)畫周期:

animation-delay: -2s /* W3C 和 Opera */
-moz-animation-delay: -2s /* Firefox */
-webkit-animation-delay: -2s /* Safari 和 Chrome */

親自試一試

相關(guān)頁面

CSS3 教程:CSS3 動(dòng)畫