課程
/前端開發
/HTML/CSS
/十天精通CSS3
...
2014-12-05
源自:十天精通CSS3 9-8
正在回答
你的49行代碼webkit前少了一個字符“-”,
“webkit-animation-play-state:running;”
應該寫成:
“-webkit-animation-play-state:running;”
_亓 提問者
@-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; }
代碼貼出來看看?
舉報
本課程為CSS3入門教程,深刻詳解CSS3知識讓網頁穿上絢麗裝備
1 回答為什么我這個沒有任何變化
3 回答鼠標距離頂部大于100PX的時候,還沒過渡到最終結果,在鼠標那個位置抖動??
2 回答改變input里面的東西為啥圖標沒有變化
2 回答為什么我的不能平滑的過度,總是瞬間就變過來了?
2 回答為什么用鼠標點擊單選框沒有效果啊,為什么不能用鼠標點擊選中呢?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2014-12-05
你的49行代碼webkit前少了一個字符“-”,
“webkit-animation-play-state:running;”
應該寫成:
“-webkit-animation-play-state:running;”
2014-12-05
2014-12-05
代碼貼出來看看?