Senior Software Engineer. 3 years Scala Specialist.
You should be able to export the whole thing as an SVG — you lose the benefit of positioning everything in Illustrator and have to redo it in HTML/CSS.
Example of SVG + CSS Animation: https://css-tricks.com/animating-svg-css/
Potential degrees of freedom in what you are working on: