JSFiddle - React, Tailwind, and code Playground

HTML

<div id="menu">
    <ul id="menu-list">
        <li id="home"><a href="#">Home</a>
        </li>
        <li id="townoffice"><a href="#">Town Office</a>
        </li>
        <li id="busines"><a href="#">Business</a>
        </li>
        <li id="residents"><a href="#">Residents</a>
        </li>
        <li id="tourists"><a href="#">Tourists</a>
        </li>
    </ul>
</div>

CSS

#menu ul {
    padding: 0 3px;
    display: table;     /* add this */
    width:100%;     /* add this */
}
#menu-list li {
    height: 45px;
    //width: 180px;     /* remove this */
    list-style: none;
    background-color: #f69b58;
    //float: left;     /* remove this */
    display:table-cell; /* add this */ 
    text-align: center;
    font-family: arial;
    font-size: 14px;
    margin-right: 2px;
}
#menu-list li a {
    display: block;
    padding: 13px;
    color: #ffffff;
    text-decoration: none;
}
}
#menu-list li:active {
    color:black;
    background-color: #3EAEE9;
}
#menu-list li:hover {
    background:#3eaee9;
}
#menu-list li.current {
    background-image: -webkit-linear-gradient(top, rgb(7, 80, 158), rgb(6, 101, 243));
    background-color: #3EAEE9;
}