Follow

Say I've got an SVG with embedded css to animate some of the bit. Is there a reasonable cross-browser way, when it's included on a page (NOT inline), FROM the including page, to toggle the animation on and off (eg, add/remove a class from the <g> or call an embedded js function or something)? Googling has turned up several answers that don't actually work, and nothing that does.

Sign in to participate in the conversation
The Clacks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!