Tailwind CSS Classes

Tailwind CSS class .flex-wrap

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

Preview

CSS source

.flex-wrap-reverse {
    flex-wrap: wrap-reverse;
}

Check .flex-wrap 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.

More Tailwind CSS classes in Flex category

© 2024 Shuffle. All rights reserved.