JSFiddle - React, Tailwind, and code Playground
by Denis
HTML
<div class="wrapper">
<div class="wrap">
<div class="content">
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
</div>
<div class="sidebar">
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
<p>Строка</p>
</div>
</div>
</div>
<footer>
footer
</footer>
CSS
html, body {
height: 100%;
background: #bbb;
margin: 0;
padding: 0;
}
.wrapper {
position: relative;
min-width: 930px;
}
.wrapper:before {
content: '';
position: absolute;
width: 50%;
top: 0px;
bottom: 0px;
z-index: 0;
left: 0px;
background: #fff;
}
.wrapper:after {
content: '';
position: absolute;
width: 50%;
top: 0px;
bottom: 0px;
z-index: 0;
right: 0px;
background: #bbb;
}
.wrap {
position: relative;
margin: 0 auto;
width: 935px;
z-index: 2;
}
.content {
display: inline-block;
width: 640px;
background: #fff;
border-radius: 0 0 10px 0;
vertical-align: top;
}
.sidebar {
display: inline-block;
width: 290px;
vertical-align: top;
position: absolute;
}
footer {
position: relative;
width: 100%;
height: 100px;
bottom: 0px;
z-index: 4;
background: #bbb;
}