css3动大转盘,css3的animation大转盘写法
生活随笔
收集整理的這篇文章主要介紹了
css3动大转盘,css3的animation大转盘写法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
alternate 動畫會在廳數次數(1,3,5等等)正常播放,面在偶數次數(2,4,4)向后播放html>
Document*{
padding:?0;
margin:?0;
}
#herhr{
display:?block;
margin:?10px?auto;
border:?1px?solid?blue;
/*transform:?rotate(60deg);???infinite讓它一直轉*/
/*animation:?hger??10s?linear?infinite;*/
/*alternate?動畫會在廳數次數(1,3,5等等)正常播放,面在偶數次數(2,4,4)向后播放。*/
/*animation:?hger??5s?linear?infinite?alternate;*/
animation:?hger??10s?linear?infinite;
/*給圖片加個圓角*/
border-radius:?60%;
}
#herhr:hover{
/*play?游戲????state??規定???paused??暫停??當鼠標放在轉盤的時候暫停的意思*/
animation-play-state:?paused;
}
@keyframes?hger{
from{
transform:?rotate(0deg);
}
to{
transform:?rotate(360deg);
}
}
????
總結
以上是生活随笔為你收集整理的css3动大转盘,css3的animation大转盘写法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C语言 链表创建及操作
- 下一篇: 为了1c币,谢谢