Device-Bugs icon indicating copy to clipboard operation
Device-Bugs copied to clipboard

SVG graphic all black in Internet Explorer (IE) 11

Open scottjehl opened this issue 8 years ago • 1 comments
trafficstars

If an SVG ever looks solid black in IE11 or older, it’s likely that it contains a <style> element and the rules aren’t applying when the svg is dynamically used...

A solution is to move the styles into attributes

Before: image

After: image

scottjehl avatar Feb 02 '17 18:02 scottjehl

http://meta.stackoverflow.com/q/340293/248058

Mouvedia avatar Feb 02 '17 19:02 Mouvedia