圆边图片无限旋转
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);}
}

浙公网安备 33010602011771号