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.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…