JSFiddle - React, Tailwind, and code Playground

by danmana

HTML

<header>
        <a href="index.html" class="logo pushForward">Clickable Logo Goes Here</a>
        <nav>
            <a href="index.html" class="current pushForward">Home</a>
            <a href="index.html" class="pushForward">Blogs</a>
            <a href="index.html" class="pushForward">Collection</a>
            <a href="index.html" class="pushForward">Facts</a>
            <a href="index.html" class="pushForward">Music</a>
            <a href="index.html" class="pushForward">Photos</a>
            <a href="index.html" class="pushForward">Places</a>
            <a href="index.html" class="pushForward">Web</a>
        </nav>
    </header>

CSS

a {
    text-decoration: none
}
header {
    min-width: 960px;
    padding-top: 100px
}
header nav {
    box-shadow: 1px 1px 0 0 rgba(255, 255, 255, 0.25) inset, 1px 1px 0 0 rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    position: relative
}
header nav, header nav a {
    background: #7CD;
    border: 1px solid #389;
    height: 30px
}
header nav a {
    border-width: 0 1px 0 0;
    box-shadow: 1px 1px 0 0 rgba(255, 255, 255, 0.25) inset;
    color: #167;
    float: left;
    line-height: 30px;
    padding: 0 10px;
    position: relative;
    text-shadow: 1px 1px rgba(255, 255, 255, 0.25)
}
header nav a:hover {
    background: #7DE;
    color: #278
}
header nav a:first-child {
    border-radius: 3px 0 0 3px
}
header nav a.current:after {
    border: 4px solid transparent;
    border-bottom: 4px solid #389;
    bottom: 0;
    content:" ";
    left: 50%;
    margin-left: -2px;
    position: absolute
}
header nav:before {
    background: url('//dev.animuson.net/theme/unnamed004/images/animals.png') top left no-repeat;
    content:" ";
    height: 86px;
    left: 0;
    position: absolute;
    top: -50px;
    width: 960px;
    z-index: 999
}
header nav:after {
    background: url('//dev.animuson.net/theme/unnamed004/images/animals.png') bottom left no-repeat;
    bottom: 0;
    content:" ";
    height: 64px;
    position: absolute;
    right: -36px;
    width: 52px
}
.pushForward {
    position: relative;
}
.pushForward:before {
    content:'';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
}