Is there a way to animate the CSS relative position of a div element from left:-260px; to left: -130px; over 0.5s when hovering over it, and have it stay in that position as long as the mouse is on it? Then return to its original position when the mouse moves out?
I've searched through numerous tutorials on CSS keyframes animations but I'm still confused. I'm looking for a simple solution with a smooth animation lasting 0.5s. How can this be achieved using just CSS or CSS combined with JavaScript (no jQuery)?