This pen is by Alex MacArthur ( @alexmacarthur) on CodePen.
Demonstrates how you can cancel an animation within a form input, in order to allow the user enter their own contents. As an added bonues, it’s shown how you might restart an animation when the user shifts focus away from that input.