Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG graphic all black in Internet Explorer (IE) 11 #74

Open
scottjehl opened this issue Feb 2, 2017 · 1 comment
Open

SVG graphic all black in Internet Explorer (IE) 11 #74

scottjehl opened this issue Feb 2, 2017 · 1 comment

Comments

@scottjehl
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants