JSFiddle - React, Tailwind, and code Playground
HTML
<div class="wrap">
<div>Hello</div>
<div>World</div>
<div>Hello</div>
<div>Blow</div>
<div>Blow 2</div>
<div>Big Blow</div>
</div>
CSS
.wrap {
width: 500px;
position: relative;
}
.wrap div {
border: 1px solid #000;
border-left: 0;
padding: 5px;
position: absolute;
width: 100px;
}
.wrap div:nth-of-type(1) {
top: 40px;
}
.wrap div:nth-of-type(2) {
top: 110px;
}
.wrap div:nth-of-type(3) {
top: 180px;
}
.wrap div:nth-of-type(4) {
top: 60px;
left: 110px;
}
.wrap div:nth-of-type(5) {
top: 20px;
left: 110px;
}
.wrap div:nth-of-type(6) {
top: 40px;
left: 220px;
}