JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrapper">
<div class="item i1"></div>
<div class="item i2"></div>
<div class="item i2"></div>
<div class="item i1"></div>
</div>
CSS
* {
box-sizing: inherit;
}
html {
box-sizing: border-box;
}
.wrapper {
width: 600px;
margin: auto;
columns: 2 auto;
column-gap: 20px;
}
.item {
display: inline-block;
width: 100%;
background: #eee;
margin-bottom: 20px;
}
.i1 {
height: 100px;
}
.i2 {
height: 200px;
}