JSFiddle - React, Tailwind, and code Playground
by Douglas Santos
HTML
<div class="content">
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
<div class="box">
<img src="https://goo.gl/df91f8">
</div>
</div>
CSS
.content{
display: flex;
flex-wrap: wrap;
background-color: #eee;
width: 510px;
}
.box{
padding:10px;
background-color: #fff;
border-radius: 8px;
margin:10px;
}