If you include the SVG inline, you can access it's elements using regular CSS styling techniques. This animation is purely done with CSS. No Javascript.