Quote:
Originally Posted by Jellby
Or if you use an SVG image, I believe you can leave one of the colors unspecified and it will use the current text color. However, I'm not sure if this is actually part of the spec, or if it's easily done with any image editor software (SVG files are text, you could always edit the text), or if ebook readers will actually support it.
|
Oooooh - that sounds exciting!! Can you point to a how-to or something??
Edit:
I found
this
Quote:
When applied to an SVG, applying currentColor to the fill or stroke property allows you to inherit the parent element’s text color or the text color applied to the element itself.
fill: currentColor;
stroke: currentColor;
|
Time to go play!