JSFiddle - React, Tailwind, and code Playground
HTML
<body class="topblack">
<header id="tophead" class="cleara">
<div id="siteinfo">
<a href="#" class="h1" id="sitename">Well-Designed Blog</a>
<p id="slogan">Created by Terry</p>
</div>
<div class="right cleara" id="navnsearch">
<nav class="left">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">About</a></li>
</ul>
</nav>
<section id="search" class="right">
<form action="#" id="search_form">
<input type="search" name="search" id="site_search" placeholder="Enter keywords">
<button type="submit" id="search_submit">Search</button>
</form>
</section>
</div>
</header>
<section id="categories">
<ul>
<li><a href="#">HTML</a></li>
<li><a href="#">CSS</a></li>
<li><a href="#">Javascript</a></li>
</ul>
</section>
<section id="blog_posts">
<article>
<header>
<h1>Far far away</h1>
<p>Published <time datetime="2013-12-26 pubdate">December 26, 2013</time> by dummytext</p>
</header>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
<p>A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
</p>
<p>Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.</p>
<p>The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn’t listen. She packed her seven versalia, put her initial into the belt and made herself on the way.</p>
<p>When she...
CSS
/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}
a {
text-decoration: none;
color: inherit;
}
h1, .h1 {
font-size: 150%;
}
h2, .h2 {
font-size: 120%;
}
h3, .h3 {
font-size: 110%;
}
h4, .h4 {
font-size: 107%;
}
.cleara:after {
content: "";
display: block;
clear:both;
}
.left {
float: left;
}
.right {
float: right;
}
.topblack {
position:relative;
padding-top: 5px;
}
.topblack:before {
content: "";
display: block;
position: absolute;
top: 0;
width: 100%;
height: 5px;
background-color: #000000;
}