← Tailwind CSS classes list

Tailwind CSS class: .flex

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

Preview

One
Two

CSS source

.flex {
    display: flex;
}

More in Tailwind CSS Display