JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="https://cdn.tailwindcss.com"></script>
  </head>
  <body>
    <div class="flex flex-wrap p-6 bg-gray-200 space-y-10">
      <div class="bg-blue-500 text-white p-4 rounded w-1/3 text-center">
        Child 1
      </div>
      <div class="bg-green-500 text-white p-4 rounded w-1/3  text-center">
        Child 2
      </div>
      <div class="bg-red-500 text-white p-4 rounded w-1/3 text-center">
        Child 3
      </div>
      <div class="bg-purple-500 text-white p-4 rounded w-1/3 text-center">
        Child 4
      </div>
      <div class="bg-teal-500 text-white p-4 rounded w-1/3 text-center">
        Child 5
      </div>
      <div class="bg-yellow-500 text-white p-4 rounded w-1/3 text-center">
        Child 6
      </div>
    </div>
  </body>
</html>