CODE HTML :
<div class="images-rotate">
 <a href="link login">
   <img class="rotate" src="http://localhost/design/images/h_login.png" width="100px" /> 
 </a>
</div>
<div class="ABC">
 <p>
  HELLO WORLD !
 </p>
</div>
CODE CSS :
.rotate{
-webkit-transition-duration: 0.8s; 
-moz-transition-duration: 0.8s;
-o-transition-duration: 0.8s;
transition-duration: 0.8s;
-webkit-transition-property: -webkit-transform; 
-moz-transition-property: -moz-transform;
-o-transition-property: -o-transform;
transition-property: transform;
overflow:hidden;
} 
.rotate:hover 
{
-webkit-transform:rotate(360deg); 
-moz-transform:rotate(360deg);
-o-transform:rotate(360deg);
} 
With this code, when i hover IMAGE class "rotate", it will rotate 360deg.
But now i want : when user hover div class "ABC", IMAGE will auto rotate 360deg.
How to do it ? Someone can help me. Thank you very much !
 
     
     
    