Similar to the Baidu music album playback CD pictures of the continuous rotation of the implementation
HTML code
src="img/logo.png" class="img-responsive" style="float: left;" />
CSS3 Code
# img{
-webkit-transition: -webkit-transform 5s;
-webkit-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform-origin: center;
-moz-transform-origin: bottom center;
-webkit-animation: css_a 5s;
animation: css_a 5s;
-moz-animation: css_a 5s;
-webkit-animation-duration: 10s;
-webkit-animation-timing-function: linear;
/*
* 不停的动
*/
-webkit-animation-iteration-count: infinite;
/* Safari and Chrome */
-moz-animation-timing-function: linear;
/*
* 不停的动
*/
-moz-animation-iteration-count: infinite;
}
@-webkit-keyframes css_a { from {/*chrome * /
-webkit-transform: rotate (0deg); -ms-transform: rotate (0deg);/ * IE 9 * / -moz-transform: rotate (0deg);/ * Firefox * /}to { -webkit-transform: Rotate (360deg); -ms-transform: rotate (360deg);/ * IE 9 * / -moz-transform: rotate (360deg);/ * Firefox * /}}@-moz-keyframes css_a { from {/ * Firefox * /-webkit-transform: rotate (0deg); -ms-transform: rotate (0deg);/ * IE 9 * / -moz-transform: rotate (0deg);/ * Firefox * /}to { -webkit-transform: Rotate (360deg); -ms-transform: rotate (360deg);/ * IE 9 * / -moz-transform: rotate (360deg);/ * Firefox * /}}
From for notes (Wiz)
Similar to the Baidu music album playback CD pictures of the continuous rotation of the implementation