JSFiddle - React, Tailwind, and code Playground

HTML

<div class="container">
  <div class="item item1"></div>
  <div class="item item2"></div>
  <div class="item item3"></div>
  <div class="item item4"></div>
  <div class="item item5"></div>
  <div class="item item6"></div>
</div>

CSS

body {
  background: rgba(0, 0, 0, .03)
}

.container {
  width: 350px;
  margin: 0 auto;
  columns: 2;
  column-gap: 10px;
}

.item {
  margin-bottom: 10px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 1px rgba(0, 0, 0, .1), 1px 0px rgba(0, 0, 0, .1)
}

.item1 {
    height: 150px;
}

.item2 {
    height: 200px;
}

.item3 {
    height: 100px;
}

.item4 {
    height: 180px;
}

.item5 {
    height: 120px;
}

.item6 {
    height: 170px;
}