我认为布局非常简单,但在ie11中,布局包装似乎不起作用。<div>lorem ipsum dolor sit amet</div> </div>使用该html,chrome和edge将如预期的那样包装如果您移除最外层的容器(行),那么ie11将按预期工作。为什么那个容器会有区别呢?有人知道我如何在不删除包含行的情况下强迫ie11包装这些项目吗?
/* Note line3, the top and bottom will be the same, why add the flex on the different*/}
background: skyblue; flex-wrap: wrap;
.itemitem">banana</div&
我有两个父母的盒子放在一起,在他们里面我有另一个弹性盒,这样h2和p可以并排坐着。为什么我的文本内容包装,当有空间为每个弹性框展开?在这个例子中,标题是在Is后面包装的--为什么h2不能展开,使This Is Title A全部出现在一行上? background: grey;}
.container>div {