JSFiddle - React, Tailwind, and code Playground

HTML

<nav>
    <ul>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
        <li></li>
    </ul>
</nav>

CSS

nav {
    background-color: yellow;
    border: 1px solid #777;
    min-height: 150px;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

li {
    display: inline-block; /* better than display: inline; now you can use width and height properties */
    width: 100px;
    height: 50px;
    background-color: lightgreen;
    border: 1px solid #777;
}

a:link {
    text-decoration: none;
}

a:active {
    color: black;
}

.icon {
    display: inline-block;
    width: 100px;
    height: 50px;
    background-color: lightgreen;
    border: 1px solid #777;
}