css3 旋转出现动画

@-moz-keyframes daf{
     0% {
         -moz-transform: rotate(-360deg) scale(0.2);
	     -webkit-transform: rotate(-360deg) scale(0.2);
	     -o-transform: rotate(-360deg) scale(0.2);
	     -ms-transform: rotate(-360deg) scale(0.2);
	     transform: rotate(-360deg) scale(0.2);
     }

      100% {
         -moz-transform: none;
	     -webkit-transform: none;
	     -o-transform: none;
	     -ms-transform: none;
	     transform: none;
     }
}

  

.daf:not(:target){
	animation-name: daf;
	 animation-duration: 1.5s;
	animation-timing-function: linear;
	-webkit-animation-name: daf;
	-webkit-animation-duration:1.5s;
	
	-moz-animation-name: daf;
	-moz-animation-duration: 1.5s;
	
	 -o-animation-name: daf;
	 -o-animation-duration:1.5s;
	
	 -ms-animation-name: daf;
	 -ms-animation-duration: 1.5s;
	
	
}

  

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