Inline SVG not working as background-image in IE

妖精的绣舞 提交于 2019-12-01 22:00:42

It looks like the most cross-browser compatible way to do this (and the only way to get IE to show the SVG as a CSS background) is to base64 encode (a.k.a dataURI) the SVG as you did in your 1st fiddle.

I found the comments discussion at the bottom of this article helpful

http://css-tricks.com/probably-dont-base64-svg

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!