2
我正在嘗試使用display: flex
進行兩列布局。我想顯示兩列,分別等於width
和height
(最大高度,其中有更多的內容)。如何使用flexbox製作兩列布局?
這是我的代碼。 https://jsbin.com/wataripuzu/edit?html,output
.row {
display: flex;
}
<section class="row">
<div class="left">11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</div>
<div>22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222</div>
</section>