2
我在我的CSS中将以下内联SVG定义为背景图像。内联SVG背景无法在Internet Explorer 11中工作
div {
border: 1px solid black;
background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' preserveAspectRatio='none' viewBox='0 0 10 10'> <path d='M2 10 L8 0 L10 0 L10 10' fill='%238A92DF'></path></svg>");
background-repeat: no-repeat;
background-position: center center;
background-size: 100%;
}
它在Chrome,Firefox和Edge中运行正常,但在Internet Explorer 11中失败。为什么?
你来晚了党,但仍然是非常感激。现在我将更接近我的web应用程序中的完整IE11支持。 – aanders77
我知道:)我在谷歌搜索,这是第一个链接,所以我回答,任何人可能会在这里结束.... –