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;
}

  

 

posted @ 2014-12-05 15:44  唸随爱  阅读(690)  评论(0编辑  收藏  举报