如何更改字体真棒图标的无限旋转?

时间:2017-03-21 13:47:49

标签: attributes font-awesome

如何改变字体的无限旋转 - 比如360度旋转? .fa-spin-hover:hover { -webkit-animation: fa-spin 1s infinite linear; animation: fa-spin 1s infinite linear; }

当我试图取代"无限"用" 360deg"代码不起作用。有办法吗?

1 个答案:

答案 0 :(得分:0)

.fa-spin-hover:hover{
     -webkit-transition: all 0.6s ease-in-out;
     -moz-transition: all 0.6s ease-in-out;
     -o-transition: all 0.6s ease-in-out;
     -ms-transition: all 0.6s ease-in-out;
      transition: all 0.6s ease-in-out;
     -webkit-transform: rotate(360deg);
     -o-transform: rotate(360deg);
     -moz-transform: rotate(360deg);
     -ms-transform: rotate(360deg);
     transform: rotate(360deg);
  }

请参阅此链接 http://www.gadgetronicx.com/spinning-social-icons-hover-css-html/