首页 > 其他 > 详细

圆边图片无限旋转

时间:2016-04-13 18:36:21      阅读:182      评论:0      收藏:0      [点我收藏+]

Demo: http://output.jsbin.com/qusikinaga
还有一个很好的transform js
http://louisremi.github.io/jquery.transform.js/index.html

Demo: http://output.jsbin.com/qusikinaga
还有一个很好的transform js
http://louisremi.github.io/jquery.transform.js/index.html

//html
<div id="block"></div>
//css
#block {
  width:119px;
  height: 119px;
  background-color:red;
  position:absolute;
  left:100px;
  top:100px;
  -webkit-animation: rotating 10s linear infinite;

  background-image: url(https://ss3.baidu.com/9fo3dSag_xI4khGko9WTAnF6hhy/ting/pic/item/e850352ac65c10380541f2e3b0119313b07e89d7.jpg);
  -webkit-border-radius: 50%;

}

 @-webkit-keyframes rotating {
  from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(360deg);}
 }

  

圆边图片无限旋转

原文:http://www.cnblogs.com/zlog/p/5388097.html

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