.container {
display: flex;
}
.item {
width: 200px;
height: 200px;
}
.container {
display: flex;
flex-wrap: wrap;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
<div class="container">
<div class="item"><img src="image1.jpg"></div>
<div class="item"><img src="image2.jpg"></div>
<div class="item"><img src="image3.jpg"></div>
<div class="item"><img src="image4.jpg"></div>
<div class="item"><img src="image5.jpg"></div>
<div class="item"><img src="image6.jpg"></div>
<div class="item"><img src="image7.jpg"></div>
<div class="item"><img src="image8.jpg"></div>
<div class="item"><img src="image9.jpg"></div>
</div>
本文为翻滚的胖子原创文章,转载无需和我联系,但请注明来自猿教程iskeys.com