How animate an SVG icon using CSS and Snap.svg library.