咋回事啊!
旋转的 css
-webkit-animation:rotate 20s linear infinite;
animation:rotate 20s linear infinite;
.pause {
-webkit-animation-play-state: paused!important;
animation-play-state: paused!important;
}
.play {
-webkit-animation-play-state: running !important;
animation-play-state: running !important;
}
@-webkit-keyframes rotate{
0% {
-webkit-transform: rotate(0)
}
100% {
-webkit-transform: rotate(360deg)
}
}
@keyframes rotate{
0% {
transform: rotate(0)
}
100% {
transform: rotate(360deg)
}
}
有大神帮看看吗 感激不尽~!