From your question, it seems you are asking that if someone hovers over box1, can it animate box 2? Sure thing:
.box1:hover .box2{
-moz-animation:spin .5s infinite linear;
}
@-moz-keyframes spin {
0% { -moz-transform:rotate(0deg); }
100% { -moz-transform:rotate(360deg); }
}
Here it is in more detail: http://jsfiddle.net/bW53x/2/
Note - the jsfiddle is set for Firefox.