我的問題是圖像結合三大要素。柔性盒佈局在一列
樣本HTML:
<div class="container">
<div class="big_element"></div>
<div class="small_element"></div>
<div class="small_element"></div>
<div class="small_element"></div>
</div>
和CSS:
.container {
display: flex;
flex-direction: row; width: 496px;
}
.big_element, .small_element {
display: flex;
width: 248px;
}
我想這樣做,無需額外的HTML標記 –