JSFiddle - React, Tailwind, and code Playground
HTML
<div class="container">
<div class="inline">
A div with less content than that one >
</div>
<div class="inline">
A div with more content than the one on the left. Now Inline 3 goes down to where this div ends. I want to move it up however, so it's right under the div that's above Inline 3.
</div>
<div class="inline">
Inline 3
</div>
<div class="inline">
Inline 4
</div>
</div>
CSS
.container {
width:600px;
background-color:rgb(40,40,40);
-webkit-column-count:2
}
.inline {
width:90%;
display:inline-block;
vertical-align:top;
color:white;
background-color:#e74c3c;
text-align:center;
margin:2% 10px;
}