JSFiddle - React, Tailwind, and code Playground

HTML

<div style="width: 250px">
    <span>omg omg omg</span>
    <span>omg omg omg</span>
    <span>omg omg omg</span>
    <span>omg omg omg</span>
</div>

CSS

span
{
    background: red;
    border-radius: 5px;
    width: 60px;
    white-space:nowrap;
}