animation使用
.btn-audio{
position:absolute;left:47%;top:47%;
width: 100px;
height: 100px;
background:url(xuanzhuan.png) no-repeat center bottom;
background-size:cover;
border-radius: 55.5px;
}
@-webkit-keyframes rotation{
from {-webkit-transform: rotate(0deg);}
to {-webkit-transform: rotate(360deg);}
}
.Rotation{
-webkit-transform: rotate(360deg);
animation: rotation 3s linear infinite;
-moz-animation: rotation 3s linear infinite;
-webkit-animation: rotation 3s linear infinite;
-o-animation: rotation 3s linear infinite;
}
div
<div class="btn-audio Rotation"></div>