JSFiddle - React, Tailwind, and code Playground
by spadez
HTML
<div id="wrap">
<div id="header">
<img src="test.jpg" />
<form id="search_form">
<input class="kw" id="keyword" placeholder="Keyword" type="text"></input>
<input id="loc" placeholder="Location" type="text"></input>
<input type="submit" value="Search" class="button" id="search">
</form>
<ul>
<li><a href="#">Post</a>
</li>
</ul>
</div>
<div id="main">
<div id="results">Test</div>
<div id="rail">
<ul id="filters">
<li class="active"><a href="/search/?dst=&kw=prog">Any distance</a></li>
<li><a href="/search/?dst=10kms&kw=prog">10 km</a></li>
<li><a href="/search/?dst=30kms&kw=prog">30 km</a></li>
<li><a href="/search/?dst=50kms&kw=prog">50 km</a></li>
</ul>
<ul id="filters">
<li class="active"><a href="/search/?date=anytime&kw=prog">Any time</a></li>
<li><a href="/search/?date=1day&kw=prog">1 Day</a></li>
<li><a href="/search/?date=3days&kw=prog">3 Days</a></li>
<li><a href="/search/?date=&kw=prog">This week</a></li>
</ul>
</div>
<div id="content">
</div>
</div>
</div>
<div id="footer">test
<ul>
<li><a href="#"><span id="label">Country: </span><span id="strong">United Kingdom</span></a>
</li>
<li><a href="#"><span id="strong">Support</span></a>
</li>
</ul>
</div>
CSS
* {
margin:0;
padding:0;
}
html, body {
height: 100%;
}
body {
font-family: arial, sans-serif;
font-style: normal;
font-size: 13px;
min-width: 760px;
}
p {
color: #444444;
line-height: 16px;
}
a {
text-decoration: none;
}
input[type=text] {
width:250px;
height:27px;
line-height:27px;
text-indent:10px;
font-size:1em;
color:#333;
padding-left:5px;
margin-right: 15px;
background: #fff;
border:solid 1px #d9d9d9;
border-top:solid 1px #c0c0c0;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
input[type=submit] {
cursor:pointer;
height: 31px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
em {
font-weight: bold;
}
h1, h2 {
font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 18px;
font-style: normal;
color: #191919;
height: 20px;
line-height: 20px;
}
h3 {
color: #12c;
font-weight: normal;
font-size: 16px;
line-height: 19px;
font-family: arial, sans-serif;
}
#wrap {
width: 100%;
min-height: 100%;
}
#main {
overflow:auto;
padding-bottom: 45px;
}
a {
text-decoration: none;
}
body:before {
content:"";
height:100%;
float:left;
width:0;
margin-top:-32767px;
}
#footer {
position: relative;
margin-top: -45px;
height: 45px;
line-height: 45px;
clear:both;
background-color: #F8F8F8;
padding: 0px 15px;
background-color: #F2F2F2;
}
#footer ul {
position:relative;
float:right;
}
#footer li {
line-height: 28px;
background-color: #F8F8F8;
border: 1px solid #D3D3D3;
font-family: arial, sans-serif;
font-size: 11px;
display: inline-block;
}
#footer li a {
color: #333;
padding: 0px 9px 0px 9px;
}
#footer img {
}
#footer #label {
}
#footer #strong {
font-weight: bold;
}
#footer #arrow {
height:10px;
}
#header {
line-height: 50px;
background-color: #F2F2F2;
border-bottom:...