0
給定一組兒童,我需要在兩組堆疊之間切換,如下圖所示。彈性流的替代方法:適用於舊版瀏覽器的列
我是能夠實現使用flex-flow: column
該堆棧。由於它在IE9中不受支持,有沒有一種方法可以在舊版瀏覽器中無彈出框的情況下實現堆疊?
.box {
border: 1px solid green;
margin: 5px;
}
.container {
display: inline-flex;
height: 70px;
flex-flow: column wrap;
}
<div class="container">
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
<div class="box">4</div>
</div>
我能想到的唯一的選擇是使用CSS多列。但[支持這個](http://caniuse.com/#feat=multicolumn)與flex box大致相同。所以我認爲你運氣不好。 – Danield
舊的黑客與浮動和固定高度 – madalinivascu
使用js/jquery:http://osvaldas.info/responsive-equal-height-blocks –