JSFiddle - React, Tailwind, and code Playground

by darkstarsys

HTML

<div class="container">
<div class="row">
<div class="column">
One column
</div>
<div class="column">
<label>Another column</label>
<label>Hi there 1</label>
<label>Hi there 2</label>
<label>Hi there 3</label>
<label>Hi there 4</label>
<label>Hi there 5</label>
<div class="column">
<label>Column 3 top!</label>
<label>Column 3 next!</label>
</div>
</div>
</div>
</div>

CSS

.container {
  height: 80px;
  display: flex;
  border-style: dashed;
  border-color: blue;
}
.row {
  display: flex;
  flex-direction: row;
  border-style: dotted;
  border-color: red;
  //height: 50px;
}
.column {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  border-style: solid; 
}