最佳答案
I have a SVG graphic put like this:
a::before { content: url(filename.svg); }
When I hover over the tag, I really want the SVG to change the fill color, without loading a new SVG file, as I have now:
a:hover::before { content: url(filename_white.svg); }
Is this possible to achieve using JavaScript, jQuery or just pure CSS that I am not aware of?
Thanks.