久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長(zhǎng)資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      css3動(dòng)畫(huà)有哪些屬性

      css3動(dòng)畫(huà)屬性有:“@keyframes”、animation、animation-name、animation-duration、animation-delay、animation-direction等等。

      css3動(dòng)畫(huà)有哪些屬性

      本教程操作環(huán)境:windows7系統(tǒng)、CSS3&&HTML5版、Dell G3電腦。

      css3動(dòng)畫(huà)屬性:

      • @keyframes 規(guī)定動(dòng)畫(huà)。

      • animation 所有動(dòng)畫(huà)屬性的簡(jiǎn)寫(xiě)屬性,除了 animation-play-state 屬性。

      • animation-name 規(guī)定 @keyframes 動(dòng)畫(huà)的名稱。

      • animation-duration 規(guī)定動(dòng)畫(huà)完成一個(gè)周期所花費(fèi)的秒或毫秒。默認(rèn)是 0。

      • animation-timing-function 規(guī)定動(dòng)畫(huà)的速度曲線。默認(rèn)是 "ease"。

      • animation-delay 規(guī)定動(dòng)畫(huà)何時(shí)開(kāi)始。默認(rèn)是 0。

      • animation-iteration-count 規(guī)定動(dòng)畫(huà)被播放的次數(shù)。默認(rèn)是 1。

      • animation-direction 規(guī)定動(dòng)畫(huà)是否在下一周期逆向地播放。默認(rèn)是 "normal"。

      • animation-play-state 規(guī)定動(dòng)畫(huà)是否正在運(yùn)行或暫停。默認(rèn)是 "running"。

      • animation-fill-mode 規(guī)定對(duì)象動(dòng)畫(huà)時(shí)間之外的狀態(tài)。

      示例:使用css3動(dòng)畫(huà)屬性制作簡(jiǎn)單動(dòng)畫(huà)

      body {   background-color: #fff;   color: #555;   font-size: 1.1em;   font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; } .container {   margin: 50px auto;   min-width: 320px;   max-width: 500px; }  .element {   margin: 0 auto;   width: 100px;   height: 100px;   background-color: #0099cc;   border-radius: 50%;   position: relative;   top: 0;   -webkit-animation: bounce 2s infinite;   animation: bounce 2s infinite; }  @-webkit-keyframes bounce {   from {     top: 100px;     -webkit-animation-timing-function: ease-out;     animation-timing-function: ease-out;   }   25% {     top: 50px;     -webkit-animation-timing-function: ease-in;     animation-timing-function: ease-in;   }   50% {     top: 150px;     -webkit-animation-timing-function: ease-out;     animation-timing-function: ease-out;   }   75% {     top: 75px;     -webkit-animation-timing-function: ease-in;     animation-timing-function: ease-in;   }   to {     top: 100px;   } }  @keyframes bounce {   from {     top: 100px;     -webkit-animation-timing-function: ease-out;     animation-timing-function: ease-out;   }   25% {     top: 50px;     -webkit-animation-timing-function: ease-in;     animation-timing-function: ease-in;   }   50% {     top: 150px;     -webkit-animation-timing-function: ease-out;     animation-timing-function: ease-out;   }   75% {     top: 75px;     -webkit-animation-timing-function: ease-in;     animation-timing-function: ease-in;   }   to {     top: 100px;   } }

      3、運(yùn)行效果

      css3動(dòng)畫(huà)有哪些屬性

      (學(xué)習(xí)視頻分享:css視頻教程)

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號(hào)-2    滬公網(wǎng)安備31011702889846號(hào)