@TerryWan
2016-12-16T10:22:13.000000Z
字数 583
阅读 1188
工作
.rotate {
position: absolute;
left: 10px;
top: 10px;
width: 30px;
height: 30px;
background-size: 100% 100%;
background-image: url(images/music_on.png);
-webkit-animation: rotating 1.2s linear infinite;
-moz-animation: rotating 1.2s linear infinite;
-o-animation: rotating 1.2s linear infinite;
animation: rotating 1.2s linear infinite;
}
@-webkit-keyframes rotating {
from{
-webkit-transform: rotate(0deg);
}
to{
-webkit-transform: rotate(360deg);
}
}
@keyframes rotating {
from{
transform: rotate(0deg);
}
to{
transform: rotate(360deg);
}
}
@-moz-keyframes rotating {
from{
-moz-transform: rotate(0deg);
}
to{
-moz-transform: rotate(360deg);
}
}