It's been a challenge all day trying to figure this out, and I know I'll feel silly once someone explains it, but I definitely need some help.
I've been working on a simple sharing toolbar for WordPress and wanted to use SVG instead of icon fonts. So, I delved into inline-SVG and now find myself stuck as I don't know how to change the fill color when hovering over the parent element.
Here are the CSS & HTML I'm using:
/* Sharing Bar ------------------- */
.entry-sharing ul {
margin-left: 0;
}
.entry-sharing li {
display: inline;
}
... (truncated for brevity) ...
</pre>
<pre><code></div>
While hovering over one of the buttons, the border and text colors change, but the SVG color remains the same. I managed to change the SVG color on hover, but then the border and text do not change...
Is there a way for them all to change together without involving JavaScript or any other similar solutions?