I have this code to make a rotation on hover. It doesn't work at all. What's is wrong with it?
I need the complete animation of the rotation for 360º
.icon-style-1 .builder-element-icon { height: 100px; width: 100px; line-height: 100px; background: blue; line-height: 100px; text-align: center; margin: 0 auto; display: block; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; color: white; } .icon-style-1 .builder-element-icon:hover { background: green; -moz-transform: rotate(360deg); -webkit-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); } <div class="icon-style-1"> <span class="builder-element-icon fa fa-camera"></span> </div>
htmltooclass=".icon-style-1"toclass="icon-style-1"