JSFiddle - React, Tailwind, and code Playground
HTML
<header id="header">
<h1 class="inner"><a href="#">My site</a></h1>
</header>
<article id="main">
<p class="inner">Lorem ipsum dolor sit amet, <a href="#">consectetur</a> adipisicing elit, sed do eiusmod tempor incididunt.</p>
</article>
<footer id="footer">
<p class="inner">© 2012 <a href="#">My site</a></p>
</footer>
<div id="background">
<p>Some text and <a href="#">an important link</a></p>
</div>
CSS
#header, #main, #footer{
width: 100%;
z-index: 1;
}
body {
background: red;
}
.inner {
margin: 0 auto;
max-width: 80%;
padding: 20px 5%;
background: white;
}
#header {
margin-bottom: 200px;
}
#background p {
position: absolute;
top: 100px;
right: 100px;
background: green;
padding: 10px;
}
#background p a {
color: white;
}
JavaScript
$('a').click(function() {
alert("Hello there!");
});