It would require a mouseover event such as the animations in CSS3. Take a look at this: http://daneden.github.io/animate.css/