如果flex布局中justify-content设置为space-between、space-evenly或者space-around
并且最后一行与上面一行个数不同时,布局会裂开
1个container父元素包裹了7个item子元素,1行想设置4个,最后一行的item不到4个,但想靠左
<div class="container">
<div class="item item1">1</div>
<div class="item item1">2</div>
<div class="item item1">3</div>
<div class="item item1">4</div>
<div class="item item1">5</div>
<div class="item item1">6</div>
<div class="item item1">7</div>
</div>