首页 > Web开发 > 详细

css3 旋转出现动画

时间:2014-12-05 16:50:33      阅读:390      评论:0      收藏:0      [点我收藏+]
@-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;
	
	
}

  

css3 旋转出现动画

原文:http://www.cnblogs.com/xupeiyu/p/4146850.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!