JSFiddle - React, Tailwind, and code Playground
by Bart Kalisz
HTML
<div class="wrapper">
<div>Some stuff</div>
<aside>
<div>Item 1</div>
<div>Item 2</div>
<div>Item 3</div>
<div>Item 4</div>
<div>Item 5</div>
</aside>
<div>Some other stuff</div>
<div>Some more stuff</div>
<div>Even more stuff</div>
</div>
CSS
* {
box-sizing: border-box;
}
.wrapper {
margin: auto;
width: 500px;
height: 250px;
background: whitesmoke;
}
.wrapper > *:not(aside){
float: left;
width: 300px;
padding: 10px;
border-bottom: 1px solid whitesmoke;
background: tomato;
}
aside {
float: right;
width: 200px;
padding: 10px;
background: seagreen;
}