CSS3旋转
阅读 11 作者 小林丶子

CSS

img{-webkit-transform: rotate(360deg);
animation: rotation 30s linear infinite;
-moz-animation: rotation 30s linear infinite;
-webkit-animation: rotation 30s linear infinite;
-o-animation: rotation 30s linear infinite;}@-webkit-keyframes rotation {from {-webkit-transform: rotate(0deg);}to {-webkit-transform: rotate(360deg);}}


HTML

<img src="https://xlzi.net/static/yuan.png" alt="">


演示:https://xlzi.net/static/rotate360-rotate.html