JSFiddle - React, Tailwind, and code Playground

HTML

<ul>
    <li>menu</li>
    <li>menu</li>
    <li>menu</li>
    <li>menu</li>
</ul>

CSS

li{width:100px;background:#000;display:inline-block;color:#fff;}