JSFiddle - React, Tailwind, and code Playground
HTML
<main>
<section>
<article class="first">I fill out half of the available space!</article>
<article class="second">I fill out half of the available space! <strong>Be aware that contents of article and aside may be changed!</strong></article>
<aside>I'm 50px width!</aside>
</section>
</main>
CSS
main {
display: table;
table-layout: fixed;
width: 100%;
border-spacing: 0;
border-collapse: separate;
padding: 25px;
background: #eee;
}
section {
display: table-row;
overflow: hidden;
}
article, aside {
display: table-cell;
padding: 5px;
}
.first {
background: #cee;
}
.second {
background: #eec;
}
article {
width: 50%;
}
aside {
width: 50px;
background: #ece;
}
* {
box-sizing: border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
}