JSFiddle - React, Tailwind, and code Playground

by simucal

HTML

<div id="container">
            <div id="header">
                <div id="userbox">
                    <div class="profile">
                        <img src="/" class="avatar"></img>
                        <a href="/" class="name">simucal</a>
                    </div>
                    <ul class="nav">
                        <li><a href="/">Dashboard</a></li>
                        <li><a href="/">Account Settings</a></li>
                        <li><a href="/">Log Out</a></li>
                    </ul>
                </div>
            </div>
        </div>

CSS

* {
  padding: 0;
  border: 0;
  margin: 0;
}

body {
    background-color: white;
    font-family: helvetica, arial, freesans, clean, sans-serif;
    line-height: 1.4;
}

a {
    color: #4183C4;
    text-decoration: none;
}

#container {
    width: 980px;
    margin: 0 auto;
}

#header {
    
}

#userbox {
    font-size: 12px;
    float: right;
    padding: 8px 5px 7px 10px;
    display: inline;
    font-weight: bold;
    border: 1px solid #E9E9E9;
    background: #fcfcfc; /* Old browsers */
    background: -moz-linear-gradient(top, #fcfcfc 0%, #ececec 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcfc), color-stop(100%,#ececec)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #fcfcfc 0%,#ececec 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fcfcfc 0%,#ececec 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #fcfcfc 0%,#ececec 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcfc', endColorstr='#ececec',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #fcfcfc 0%,#ececec 100%); /* W3C */
    -webkit-border-bottom-right-radius: 6px;
    -webkit-border-bottom-left-radius: 6px;
    -moz-border-radius-bottomright: 6px;
    -moz-border-radius-bottomleft: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

#userbox .profile {
    padding-right: 6px;
    display: inline;
}

#userbox .profile a {
    color: black;
}

#userbox .profile .avatar {
    vertical-align: middle;
    display: inline;
    margin-right: 3px;
    width: 22px;
    height: 22px;
    background-color: #c0c0c0;
}

#userbox .profile .name { 
    margin-top: 3px;
}

#userbox ul.nav {
    display: inline;
}


#userbox ul.nav li {
    list-style-type:...