JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<div id="wrapper">
<header>
</header>
<div class="side-left">
<p>Left Sidebar</p>
</div>
<div class="side-right">
<p>Right Sidebar</p>
</div>
<div class="content">
<div class="gallery"></div>
<div class="gallery"></div>
<div class="gallery"></div>
<div class="gallery"></div>
<div class="gallery"></div>
<div class="gallery"></div>
</div>
</div>
</body>
CSS
html, body {
margin: 0;
height: 100%;
}
header {
height: 156px;
background: url(header.jpg) #0a98ac no-repeat;
}
h1 {
font-style: italic;
text-align: center;
}
#wrapper {
margin: 0 auto;
width: 100%;
max-width: 1200px;
height: calc(100% - 156px);
}
.main {
height: 100%;
}
.side-left, .side-right {
width: 200px;
height: 100%;
color: #fff;
background: #000;
float: left;
}
.side-right {
float: right;
}
.content {
width: calc(100% - 400px);
height: 100%;
overflow: scroll;
background: #666;
}
.gallery {
margin: 15px;
width: 140px;
height: 480px;
background: red;
float: left;
}