is now part of Shuffle™. You can use the editor on this domain, but we encourage you to try Shuffle →. Shuffle™ includes templates for Tailwind CSS, Bootstrap, Bulma, and Material-UI.
← Tailwind CSS classes list

Tailwind CSS class: .flex-1

<div class="flex bg-gray-200">
  <div class="flex-1 bg-teal-400 p-4 m-2">1</div>
  <div class="flex-1 bg-teal-400 p-4 m-2">2</div>
  <div class="flex-1 bg-teal-400 p-4 m-2">3</div>
</div>

Preview

1
2
3

Check .flex-1 in a real project

Click one of the examples listed below to open the Shuffle Visual Editor with the UI library that uses the selected component.

CSS source

.flex-1 {
    flex: 1 1 0%;
}

More in Tailwind CSS Flex