IE11 meta element Breaks SVG

前端 未结 7 1813
半阙折子戏
半阙折子戏 2020-12-03 02:38

I\'ve embedded an SVG files data directly into my html. It shows in Chrome and Firefox, but in IE11 it doesn\'t show at all. The pastebin link to the SVG is http://pastebin

7条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-03 03:04

    I was having the same problem with 3 of 4 inline svgs I was using, and they only disappeared (in one case, partially) on IE11.

    I had on the page.

    In the end, the problem was extra clipping paths on the svg file. I opened the files on Illustrator, removed the clipping path (normally at the bottom of the layers) and now they're all working.

提交回复
热议问题