[英]Simple flexbox example renders incorrectly in Internet Explorer 11?
Consider this simple example of display: flex
: 考虑以下简单的
display: flex
示例display: flex
:
<div class="outer">
<div class="inner">A</div>
<div class="inner">B</div>
</div>
.outer {
display: flex;
}
.inner {
flex-grow: 0;
flex-basis: 0px;
}
Most browsers I have tested render this as AB
, but Internet Explorer 11 instead renders an A
and B
superimposed on each other. 我测试过的大多数浏览器都将其渲染为
AB
,但Internet Explorer 11却将A
和B
叠加在一起。
Is this a bug in IE11? 这是IE11中的错误吗? If so, is there a way to tweak the CSS to get IE11 to render correctly?
如果是这样,是否有一种方法可以调整CSS以使IE11正确呈现?
https://jsfiddle.net/oh6x73ca/ https://jsfiddle.net/oh6x73ca/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.