June 11, 2014 09:03 pm GMT
Original Link: http://css-tricks.com/cascading-svg-fill-color/
Cascading SVG Fill Color
One time someone told me their biggest problem with SVG icons is that they didn't match the color of text they were by. In fact it was such a big problem for them, that despite seeing the advantages of SVG icons they were sticking with icon fonts. I didn't think of it at the time, but there is a pretty easy solution for this.
The idea is to use the currentColor value in CSS to pass that text color through …
Cascading SVG Fill Color is a post from CSS-Tricks
Original Link: http://css-tricks.com/cascading-svg-fill-color/
Share this article:
Tweet
View Full Article