Similar to the Baidu music album playback CD pictures of the continuous rotation of the implementation

Source: Internet
Author: User

Similar to the Baidu music album playback CD pictures of the continuous rotation of the implementation
HTML code
 
   
  
  1. src="img/logo.png" class="img-responsive" style="float: left;" />
CSS3 Code
  
 
  1. # img{
  2. -webkit-transition: -webkit-transform 5s;
  3. -webkit-transform: rotate(0deg);
  4. -moz-transform: rotate(0deg);
  5. -webkit-transform-origin: center;
  6. -moz-transform-origin: bottom center;
  7. -webkit-animation: css_a 5s;
  8. animation: css_a 5s;
  9. -moz-animation: css_a 5s;
  10. -webkit-animation-duration: 10s;
  11. -webkit-animation-timing-function: linear;
  12. /*
  13. * 不停的动
  14. */
  15. -webkit-animation-iteration-count: infinite;
  16. /* Safari and Chrome */
  17. -moz-animation-timing-function: linear;
  18. /*
  19. * 不停的动
  20. */
  21. -moz-animation-iteration-count: infinite;
  22. }
  23. @-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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.