Animate SVG

Hi Guys.
I am trying to animate an svg on hover/mouseover and reverse the animation on mouseleave. I am not achieving exactly what i want to.
The first video show what I am trying to do and the second one is what I have done.
Please help out.
Was this page helpful?