<div class="wrapper">
<div class="inner">
<div class="col c1">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis, nemo!</div>
<div class="col c2">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Blanditiis, nemo!</div>
</div>
<div class="inner">
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Obcaecati saepe inventore ut, doloremque dolor consequatur, nesciunt voluptates quod nostrum accusamus hic minima quasi id labore error aliquid omnis perspiciatis. Et sint maiores accusamus rerum, quae enim asperiores a sed quasi repellendus, corrupti repellat eius quaerat quia cupiditate assumenda vel optio, nisi. Modi temporibus, eum aliquam optio quaerat doloremque expedita deleniti.
</div>
</div>
* {
box-sizing: border-box
}
html,
body {
height: 100%;
margin: 0;
}
.wrapper {
overflow-x: hidden;
}
.inner {
display: flex;
width: 80%;
margin: auto;
}
.col {
position: relative;
width: 50%;
padding: 20px 0;
}
.c1::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 50vw;
height: 100%;
background: yellow;
z-index: -1;
}
.c2::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 50vw;
height: 100%;
background: green;
z-index: -1;
}