JSFiddle - React, Tailwind, and code Playground

by smacky311

HTML

<div id="container">
<ul>
    <li><a href="#">Home</a></li>
    <li><a href="#">Search Request</a></li>
    <li><a href="#">New Request</a></li>
</ul>
</div>

CSS

ul {
    border-bottom: 1px solid #5C87B2;
    margin: 0;
    padding: 0 0 2px;
    position: relative;
    text-align: right;
    line-height: 1.6em;
}
li {
    background-color:gray;
    float:left;
    display: inline;
    list-style: none outside none;
    padding:  .5em .5em .5em .5em;
    overflow: hidden;
}

body {
    font-family: "Trebuchet MS",Verdana,Helvetica,Sans-Serif;
}

#container {
    float:right;
    line-height:12.8px;
    background-color: black;
    width: 100%;
    text-align: right;
}

ul li a {
    background-color: #E8EEF4;
    border-radius: 4px 4px 0 0;
    color: #034AF3;
    font-weight: bold;
    line-height: 2.8em;
    padding: 1em 2em;
    text-decoration: none;
}