No-Library (pure JS), HTML, CSS, JavaScript
This fiddle demonstrates, how you can restart an animation on hover with no JavaScript involved.