JSFiddle - React, Tailwind, and code Playground
HTML
<section class="container">
<div class="left-half">
<article>
<h1>Left Half</h1>
<p>Weekends don't count unless you spend them doing something completely pointless.</p>
</article>
</div>
<div class="right-half">
<article>
<h1>Right Half</h1>
<p>If your knees aren't green by the end of the day, you ought to seriously re-examine your life.</p>
</article>
</div>
</section>
CSS
html, body, section, div {
height: 100%;
margin: 0;
padding: 0;
}
body {
color: #fff;
font-family: sans-serif;
font-size: 1.25rem;
line-height: 150%;
text-align: center;
text-shadow: 0 2px 2px #b6701e;
}
h1 {
font-size: 1.75rem;
margin: 0 0 0.75rem 0;
}
// Pattern styles .container {
display: table;
height: 100%;
width: 100%;
}
div {
display: table-cell;
text-align: center;
vertical-align: middle;
width: 50%;
padding: 1rem;
height: 100%;
}
.left-half {
background: #ff9e2c;
height: 100vh;
}
.right-half {
background: #b6701e;
height: 100vh;
}