CSS only stop animation on resize

A Pen by davorsuljic