Share this page 

Rotate an Image on mouse overTag(s): HTML/CSS


<style>
.rotatingimg{transition: transform 2s;}
.rotatingimg:hover{transform:rotate(360deg);}
</style>
...
<img src="realhowto-small.png" class="rotatingimg"></img>

Try it here :