CSS3图标原位置旋转360度代码
- #x_contant a img{
- display:block;
- -webkit-transition: -webkit-transform 0.4s ease-out;
- -moz-transition: -moz-transform 0.4s ease-out;
- transition: transform 0.4s ease-out;
- width:125px;
- height:125px;}
- #x_contant a:hover img{
- -webkit-transform: rotate(360deg);
- -moz-transform: rotate(360deg);
- transform: rotate(360deg);}