JSFiddle - React, Tailwind, and code Playground
HTML
<div class="center">
<div class="column">
</div>
<div class="content">
</div>
<div class="column">
</div>
</div>
CSS
* {
padding: 0;
margin: 0;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
}
div {
background: red;
height: 100%;
display: inline-block;
}
.column {
width:40px;
text-align: right;
}
.column:last-child {
//position: absolute;
right: 0;
top: 0;
}
.center {
text-align: center;
}
.content {
//position: absolute;
width: 490px;
right: 90px;
background: green;
}