I have tried spinning and sliding seperately and they work fine. But when I combine them they have an awkward combo.
http://jsfiddle.net/62RJc/268/
img{
border-radius:50%;
-webkit-transition: -webkit-transform .8s ease-in-out;
-ms-transition: -ms-transform .8s ease-in-out;
transition: transform .8s ease-in-out;
}
Its because you are using keyFrame, you can achieve this with transform alone.
Take a look at this: (Also, hovering an img while its moving is not an easy task)
To make image stay where it is after animation ended: 1) Remove
button:hover + img {}
from CSS 2) Add JSJQuery:
JS Fiddle - Element not returning to starting position!