How to Reverse an Animation on Mouse Out After Hover

Reverse CSS animation on :hover

Instead of using reverse I just created another animation which is the reverse of your current one.

I did it likes this: http://codepen.io/anon/pen/zoeWLO

div {  -webkit-animation-fill-mode: forwards;  animation-duration: 2s;  animation-name: a;  background-color: #a00;  display: inline-block;  padding: 50px;}
div:hover { -webkit-animation-fill-mode: forwards; animation-duration: 2s; animation-name: ra;}
@keyframes a { 0% { padding: 50px; } 100% { padding: 100px 200px; }}
@keyframes ra{ 0% { padding: 100px 200px; } 100% { padding: 50px; }}
<div></div>

reverse an animation after div:hover

You can use transition instead of animation