課程
/前端開(kāi)發(fā)
/HTML/CSS
/十天精通CSS3
...
2014-12-05
源自:十天精通CSS3 9-8
正在回答
你的49行代碼webkit前少了一個(gè)字符“-”,
“webkit-animation-play-state:running;”
應(yīng)該寫(xiě)成:
“-webkit-animation-play-state:running;”
_亓 提問(wèn)者
@-webkit-keyframes?move?{ ??0%{ ????transform:?translateY(90px); ??} ??15%{ ????transform:?translate(90px,90px); ??} ??30%{ ????transform:?translate(180px,90px); ??} ??45%{ ????transform:?translate(90px,90px); ??} ??60%{ ????transform:?translate(90px,0); ??} ??75%{ ????transform:?translate(90px,90px); ??} ??90%{ ????transform:?translate(90px,180px); ??} ??100%{ ????transform:?translate(90px,90px); ??} } div?{ ??width:?200px; ??height:?200px; ??border:?1px?solid?red; ??margin:?20px?auto; } span?{ ??display:?inline-block; ??width:?20px; ??height:?20px; ??background:?orange; ??transform:?translateY(90px); ??-webkit-animation-name:?move; ??-webkit-animation-duration:?10s; ??-webkit-animation-timing-function:?ease-in; ??-webkit-animation-delay:?.2s; ??-webkit-animation-iteration-count:infinite; ??-webkit-animation-direction:alternate; ??-webkit-animation-play-state:paused; } div:hover?span?{ ??webkit-animation-play-state:running; }
代碼貼出來(lái)看看?
舉報(bào)
本課程為CSS3入門(mén)教程,深刻詳解CSS3知識(shí)讓網(wǎng)頁(yè)穿上絢麗裝備
1 回答為什么我這個(gè)沒(méi)有任何變化
3 回答鼠標(biāo)距離頂部大于100PX的時(shí)候,還沒(méi)過(guò)渡到最終結(jié)果,在鼠標(biāo)那個(gè)位置抖動(dòng)??
2 回答改變input里面的東西為啥圖標(biāo)沒(méi)有變化
2 回答為什么我的不能平滑的過(guò)度,總是瞬間就變過(guò)來(lái)了?
2 回答為什么用鼠標(biāo)點(diǎn)擊單選框沒(méi)有效果啊,為什么不能用鼠標(biāo)點(diǎn)擊選中呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢(xún)優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2014-12-05
你的49行代碼webkit前少了一個(gè)字符“-”,
“webkit-animation-play-state:running;”
應(yīng)該寫(xiě)成:
“-webkit-animation-play-state:running;”
2014-12-05
2014-12-05
代碼貼出來(lái)看看?