css3360度旋转动画

时间:2023-03-08 22:38:23
css3360度旋转动画
@-webkit-keyframes Parallaxs{
from {
-webkit-transform: rotate(180deg) ;
-moz-transform: rotate(180deg) ;
-o-transform: rotate(180deg) ;
transform: rotate(180deg);
}
to {
-webkit-transform: rotate(360deg) ;
-moz-transform: rotate(360deg) ;
-o-transform: rotate(360deg) ;
transform: rotate(360deg);
}
}
.feng:not(:target){
-webkit-animation-name: Parallaxs;
-webkit-animation-duration: 10s;
-webkit-animation-iteration-count: infinite;
-moz-animation-name: Parallaxs;
-moz-animation-duration: 10s;
-moz-animation-iteration-count: infinite;
-o-animation-name: Parallaxs;
-o-animation-duration: 10s;
-o-animation-iteration-count: infinite;
animation-name: Parallaxs;
animation-duration: 10s;
animation-iteration-count: infinite;
}