JSFiddle - React, Tailwind, and code Playground
HTML
<header>
<nav>
<span id="logo"><a href="index.html">LOGO</a></span>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<div class="content">
<div class="leftSide">
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
<p>Left</p>
...
CSS
* {
margin: 0;
padding: 0;
}
html, body {
background: none repeat scroll 0 0 #555555;
font-family: 'Orienta',sans serif;
height: 100%;
width: 100%;
}
#wrapper {
margin-left: 5%;
margin-right: 5%;
width: 90%;
}
header {
color: #FFFFFF;
}
#logo a {
font-family: 'Orbitron',sans-serif;
font-size: 45px;
margin-left: 25px;
text-shadow: 0 0 8px #32CF0A;
}
nav {
background: none repeat scroll 0 0 #1C1B1B;
float: left;
font-size: 15px;
height: 100%;
width: 100%;
}
nav ul {
float: right;
list-style: none outside none;
margin-right: 75px;
}
nav ul li {
float: left;
margin-left: 15px;
padding: 40px 25px 5px;
}
nav ul li a:hover {
text-shadow: 0 0 6px #FFFFFF;
}
a {
color: #FFFFFF;
text-decoration: none;
}
.content {
background: none repeat scroll 0 0 #EEEEEE;
width: 100%;
}
.leftSide {
background: none repeat scroll 0 0 #FF0000;
float: left;
width: 70%;
}
.rightSide {
background: none repeat scroll 0 0 #0000FF;
float: right;
width: 30%;
}
footer {
clear: both;
font-size: 10pt;
height: 180px;
position: relative;
width: 100%;
}
.footer {
background: none repeat scroll 0 0 #343434;
box-shadow: 0 14px 6px -6px rgba(0, 0, 0, 0.7);
height: 120px;
width: 100%;
}
.footerInfo {
float: left;
margin-left: 70px;
margin-top: 20px;
}
.footerInfo h3 {
color: #43DFD4;
padding-bottom: 4px;
}
.footerInfo ul {
list-style: none outside none;
text-align: center;
}
.footerInfo li a {
color: #FFFFFF;
}
.footerInfo li a:hover {
color: #43DFD4;
text-decoration: underline;
}
JavaScript
$(function(){
var contentHeight = $('.leftSide').height();
$('.rightSide').height(contentHeight);
});