JSFiddle - React, Tailwind, and code Playground
HTML
<div class="column">
<div>
Element 1
</div>
<div>
Element 3
</div>
<div>
Element 4
</div>
<div>
Element 5
</div>
</div>
<div id="fixed">
Element 2
</div>
CSS
.column {
display: flex;
flex-flow: column nowrap;
justify-content: space-between;
height: 300px;
float: left;
margin: 10px;
border: 3px solid black;
}
.column > div, #fixed {
display: flex;
justify-content: center;
align-items: center;
width: 200px;
height: 50px;
background-color: red;
}
#fixed {
position: fixed;
top: 0;
right: 0;
}