第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會(huì)有你想問的

CSS3旋轉(zhuǎn)動(dòng)畫

CSS3旋轉(zhuǎn)動(dòng)畫

Qyouu 2019-08-30 15:49:46
<img class="image" src="" alt="" width="120" height="120">無法讓這個(gè)動(dòng)畫圖像工作,它應(yīng)該做360度旋轉(zhuǎn)。我想下面的CSS有些不對勁,因?yàn)樗皇潜3植粍?dòng)。.image {    float: left;    margin: 0 auto;    position: absolute;    top: 50%;    left: 50%;    width: 120px;    height: 120px;    margin-top: -60px;    margin-left: -60px;    -webkit-animation-name: spin;    -webkit-animation-duration: 4000ms;    -webkit-animation-iteration-count: infinite;    -webkit-animation-timing-function: linear;    -moz-animation-name: spin;    -moz-animation-duration: 4000ms;    -moz-animation-iteration-count: infinite;    -moz-animation-timing-function: linear;    -ms-animation-name: spin;    -ms-animation-duration: 4000ms;    -ms-animation-iteration-count: infinite;    -ms-animation-timing-function: linear;    animation-name: spin;    animation-duration: 4000ms;    animation-iteration-count: infinite;    animation-timing-function: linear;    @-ms-keyframes spin {         from {             -ms-transform: rotate(0deg);         } to {             -ms-transform: rotate(360deg);         }    }    @-moz-keyframes spin {         from {             -moz-transform: rotate(0deg);         } to {             -moz-transform: rotate(360deg);         }    }    @-webkit-keyframes spin {         from {             -webkit-transform: rotate(0deg);         } to {             -webkit-transform: rotate(360deg);         }    }    @keyframes spin {         from {             transform: rotate(0deg);         } to {             transform: rotate(360deg);         }    }}
查看完整描述

3 回答

?
呼啦一陣風(fēng)

TA貢獻(xiàn)1802條經(jīng)驗(yàn) 獲得超6個(gè)贊

我有一個(gè)旋轉(zhuǎn)圖像使用與你相同的東西:


.knoop1 img{

    position:absolute;

    width:114px;

    height:114px;

    top:400px;

    margin:0 auto;

    margin-left:-195px;

    z-index:0;


    -webkit-transition-duration: 0.8s;

    -moz-transition-duration: 0.8s;

    -o-transition-duration: 0.8s;

    transition-duration: 0.8s;


    -webkit-transition-property: -webkit-transform;

    -moz-transition-property: -moz-transform;

    -o-transition-property: -o-transform;

     transition-property: transform;


     overflow:hidden;

}


.knoop1:hover img{

    -webkit-transform:rotate(360deg);

    -moz-transform:rotate(360deg); 

    -o-transform:rotate(360deg);

}


查看完整回答
反對 回復(fù) 2019-08-30
  • 3 回答
  • 0 關(guān)注
  • 515 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)