JSFiddle - React, Tailwind, and code Playground

by John Miltone

HTML

<div id="header">
        <div id="logo"><p>Bla bla</p></div>
        <div id="syndication">
            <ul>
                <li><div id="facebookHeader"></div> </li>
                <li id="twitterHeader"></li>
                <li id="rssHeader"></li>
            </ul>
        </div>
    </div> 

<nav id="navigation" class="clearfix">
        <ul class="clearfix">
            <li id="homeIcon"><a href=""></a></li>
            <li><a href="">link 1</a></li>
            <li><a href="">link 2</a></li>
            <li><a href="">link 3</a></li>
            <li><a href="">link 4</a></li>
            <li><a href="">link 5</a></li>
        </ul>
        <a href="#" id="pull">Menu</a>
    </nav>

CSS

/* =============  MAIN ====================== */
*
{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 0;
    margin: 0;
    padding: 0;
}
html
{
    height: 100%;
}
body
{
    height: 100%;
    margin: 0;
    padding: 0;
}




/* =============  HEADER ====================== */
#header
{
    width: 100%;
    height: 10%;
    background: url("../images/blueMetallic.jpg") left top repeat;
}
#logo
{
    float: left;
    width: 50%;
    height: 100%;
    text-align: center;
    display: table;
}
#logo p
{
    font-size: 2em;
    color: #ffffff;
    display: table-cell;
    vertical-align: middle;
    line-height: 25px;
}
#logo p span
{
    font-size: 0.5em;
    margin: 0;
    padding: 0;
    border: 0;
}
#syndication
{
    float: right;
    width: 50%;
    height: 100%;
    display: table;
    text-align: center;
}
#syndication ul
{
    display: table-cell;
    vertical-align: middle;
    list-style: none;
}
#syndication ul li
{
    display: inline-block;
    color: #ffffff;
}
#facebookHeader
{
    width: 32px;
    height: 32px;
    background-image: url("../images/facebook-32x32.png");
    margin: 7px;
}
#twitterHeader
{
    width: 32px;
    height: 32px;
    background-image: url("../images/twitter-32x32.png");
    margin: 7px;
}
#rssHeader
{
    width: 32px;
    height: 32px;
    background-image: url("../images/rss-32x32.png");
    margin: 7px;
}
#homeIcon
{
    background: url("../images/home-25x25.png") no-repeat center;
}








.clearfix:before, .clearfix:after
{
    content: " ";
    display: table;
}
.clearfix:after
{
    clear: both;
}
#navigation
{
    height: auto;
    width: 100%;
    background: #000000;
    font-size: 1em;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: bold;
    position: relative;
}
#navigation ul
{
    padding: 0;
    margin: 0 auto;
    width: 100%;
    height: 40px;
}
#navigation li
{
    display: block;
    float: left;
    width: 13.5%;
    line-height: 40px;
}
#navigation a
{
    color:...

JavaScript

var menu = $('nav ul');

$('#pull').on('click', function(e){
    e.preventDefault();
    menu.slideToggle("slow","linear");
});