← Tailwind CSS classes list

Tailwind CSS class: .inline-block

<div class="bg-gray-400 p-2">
  <div class="inline-block bg-teal-400">One</div>
  <div class="inline-block bg-teal-400">Two</div>
</div>

Preview

One
Two

CSS source

.inline-block {
    display: inline-block;
}

More in Tailwind CSS Display