我尝试了一个带有弹出框的新html设计。 Chrome 58版本58.0.3029.110中的设计是正确的,但在IE11中没有。我没有尝试过其他浏览器。flex-grow在Internet Explorer 11(IE11)中无法正确显示
问题是什么?
body {
display: flex;
flex-flow: row wrap;
}
#left {
flex: 6 0%;
display: flex;
flex-flow: row wrap;
}
#right {
flex: 1 0%;
background-color: black;
}
#top {
flex: 1 100%;
background-color: red;
}
#nav {
flex: 1 0%;
background-color: green;
}
#main {
flex: 6 0%;
background-color: blue;
}
#notepad {
flex: 1 0%;
background-color: yellow;
}
#chat {
flex: 6 0%;
background-color: orange;
}
#break {
flex: 1 100%;
}
<div id="left">
<div id="top">test</div>
<div id="nav">test</div>
<div id="main">test</div>
<div id="break"></div>
<div id="notepad">test</div>
<div id="chat">test</div>
</div>
<div id="right">test</div>
https://jsfiddle.net/25qu0b2p/
很好的解释,我想,当你模仿IE的一部分 – Nobita