Not 100% sure, but if you inline an SVG in HTML, you should be able to style it using CSS the usual way.
back
1 comments
True, that is my understanding as well – still, though, requires that you have that SVG in your HTML in the first place. The CSS approach (in my link anyway, not necessarily OP's) can be incorporated without any updates to your existing markup – even without adding a single DIV.