JSFiddle - React, Tailwind, and code Playground
HTML
<body>
<header>
<a id = "logo" href = "#">Header Header Header Head</a>
</header>
<div id= "colourblock"></div>
<nav>
<a href="#">Home</a>
</nav>
<div id=wrapper>
<section id="entry"><h1>~</h1></section>
<section id="entry"><h1>~</h1></section>
<section id="entry"><h1>~</h1></section>
</div>
</body>
CSS
body{
margin: 0;
background-image: url(res/45-degree-fabric-dark.png);
}
header{
position:absolute;
top: 0;
width: 100%;
padding-left: 24px;
padding-right: 24px;
background-image: url(res/7029266031_6d17f2bca7_z.jpg);
background-position: center;
color:#fff;
border-bottom: 5px solid rgba(0, 0, 0, 0.5);
z-index: 50;
height: 80px;
opacity: 1;
overflow: hidden;
}
#logo{
position: absolute;
top: 30px;
font-family:Arial, Helvetica, sans-serif;
font-size: 20px;
text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
font-weight:bold;
display: block;
color:#fff;
text-decoration: none;
margin: auto;
}
#colourblock{
top: 0;
position: absolute;
height: 85px;
width: 100%;
background: rgba(0, 0, 0, 0.5);
}
nav{
margin-top: 85px;
height: 30px;
opacity: 1;
line-height: 30px;
text-align: center;
font-family:Arial, Helvetica, sans-serif;
font-size: 16px;
text-shadow: 2px 2px rgba(0, 0, 0, 0.5);
color:#fff;
display: block;
background: rgba(0, 0, 0, 0.5);
}
nav a{
text-decoration: none;
color:#fff;
}
nav a:hover{
text-decoration: underline;
}
section{
height:10px;
min-height: 400px;
background: rgba(0, 0, 0, 0.5);
border-bottom: 5px solid rgba(0, 0, 0, 0.5);
}
section h1{
font-family:Arial, Helvetica, sans-serif;
font-size:2em;
text-align:center;
}
#wrapper{
padding: 10px;
}