JSFiddle - React, Tailwind, and code Playground
HTML
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Title</title>
<link rel="stylesheet" href="style2.css">
<link rel="icon" type="image/png" href="favicon.png">
<script src="js/jquery-1.10.2.min.js"></script>
<script src="js/nav-responsive.js"></script>
</head>
<body>
<nav class="clearfix">
<ul class="clearfix">
<li><a href="home.html">home.</a></li>
<li><a href="about.html">about.</a></li>
<li><a href="work.html">work.</a></li>
<li><a href="services.html">services.</a></li>
<li><a href="contact.html">contact.</a></li>
</ul>
<a href="#" id="pull">Menu</a>
</nav>
<div id="new_div">
<div class="home">
<h3 class="featurework">Header</h3>
<h4 class="featureworktitle">Sub-header</h4>
<img class="featureworkimg" src="img/featured-rms.jpg" alt="lilo">
</div>
<div class="home-description">
<p class="home">Description section</p>
<p class="home-viewproject"><a href="#" target="_blank">Link »</a></p>
</div>
</div>
</body>
</html>
CSS
/*Resets all elements to 0*/
* {
margin: 0;
padding: 0
}
header, section, footer, aside, nav, article, hgroup {
display: block;
}
article footer {
padding-top: 20px;
clear: both;
float: right;
font-weight: bold
}
html {
height:100%;
}
body {
margin: 0;
padding: 0;
min-width: 100%;
height:100%;
overflow-x: hidden;
background:red;
}
/*The DIVS are in order it appears in screen, (eg 1-10) etc*/
div.home {
width: 50%;
float:left;
background:#1ABC9C;
}
div.home-description {
width: 50%;
float:left;
min-height: 100%;
height: auto;
text-align: left;
-moz-box-flex: 1;
-ms-box-flex: 1;
-webkit-box-flex: 1;
box-flex: 1;
display: -webkit-box;
display:box;
-moz-box-orient: vertical;
-ms-box-orient: vertical;
-webkit-box-orient: vertical;
box-orient: vertical;
background:#1ABC9C;
padding:180px 0 0 0;
}
div.home-right {
width: 50%;
float:right;
background:#1ABC9C;
}
.clearfix-the-shit {
clear: both;
display: block;
margin: 0;
padding: 20px auto
}
#big_wrapper {
width:100%;
background: #ECF0F1;
/*display: -webkit-box;
display:box;*/
/*-moz-box-orient: vertical;
-ms-box-orient: vertical;
-webkit-box-orient: vertical;
box-orient: vertical;*/
}
#new_div {
width: 100%;
}
#new_div_2 {
width: 100%;
background:#1ABC9C url('img/bg3.png') repeat ;
float:left;
}
.new_divcontent_flatui-tile{
width:400px;
height:600px;
float:left;
margin-left: 170px;
margin-top: 100px;
margin-bottom: 100px;
border-radius: 5px;
background:#1ABC9C;
}
p.tile-text{
font-family: Gotham-Book, San-Serif;
padding: 0 30px 0 30px;
margin-top:0px;
color:#34495E;
font-size:15pt;
text-align: left;
}
#new_divcontent_footer{
width:100%;
font-size:18pt;
font-family: Lato-Reg, San-Serif;
border-top: 1px solid;
...