JSFiddle - React, Tailwind, and code Playground

by silviagreen

HTML

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<div id="main-container">

    <!-- Main navigation -->
    <header class="main-header">
        <div class="header-content">
            <div class="container">

                <!-- Logo -->
                <div class="logo-wrapper pull-left">
                    <a href="index.html">Sit <span>On</span> Chair</a>
                </div>

                <!-- Main menu -->
                <nav class="nav-main pull-right">
                    <ul class="main-nav-list">
                        <li><a href="#" class="dropdown">About us</a>
                         <div class="dropdown-content">
                        <a href="#">News</a>
                        <a href="#">Our team</a>
                        <a href="#">History</a>
                    </div></li>
                        <li><a href="#">Gallery</a></li>
                        <li><a href="#">Contact</a></li>
                    </ul>
                   
                </nav>
            </div>
        </div>
    </header>
</div>

CSS

/* Text styles */
body {
    font-family: 'ralewayregular';
}

@font-face {
    font-family: 'ralewayregular';
    src: url('../fonts/raleway-regular.eot');
    src: url('../fonts/raleway-regular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/raleway-regular.woff2') format('woff2'),
    url('../fonts/raleway-regular.woff') format('woff'),
    url('../fonts/raleway-regular.ttf') format('truetype'),
    url('../fonts/raleway-regular.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2 {
    text-transform: uppercase;
}

a {
    text-decoration: none;
}

/* Main content */
#main-content {
    position: relative;
    z-index: 0;
}

/* Container styles */
* {
    box-sizing: border-box;
}

.container {
    position: relative;
    width: 1180px;
    margin: 0 auto;
}

.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

/* Main header */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 99;
    text-transform: uppercase;
    background-color: #000000;
}

/* Logo */
.logo-wrapper {
    margin: 16px 0;
}

/* General header styles */
.header-content .main-nav-list li {
    display: inline;
    padding: 0 30px;
    &:nth-child(3) {
        padding-left: 30px;
        padding-right: 0;
    }
}

.header-content {
    span {
        color: #66dfc9;
        transition: 0.2s ease-in-out;
    }
    a {
        color: #ffffff;
        transition: 0.2s ease-in-out;
        &:hover {
            color: #66dfc9;
            transition: 0.2s ease-in-out;
            span {
                color: #ffffff;
                transition: 0.2s ease-in-out;
            }
        }
    }
}

/* Dropdown */
.dropdown-content {
    position: absolute;
    top: 60px;
    right: 230px;
    width: 140px;
    padding: 10px;
    display: none;
    overflow: auto;
    z-index: 100;
    border-radius: 5px;
    text-transform: none;
    text-align: left;
    background-color: #000000;
    a {
    ...