title: How to create nested column with tailwind?
body: <p>I'm using tailwind to create a 12 column grid layout.</p>
  <p>I want to create a nested 3/12 column in <code>grid-child</code> which equal width with <code>col-span-3</code> at parent <code>grid-parent</code>.</p>
  <p>I created another grid but 3/12 column this <code>grid-child</code> is small than <code>grid-parent</code>. I mean width of 12 column of <code>grid-child</code> == 9 column of <code>grid-parent</code>.</p>
  <p>If I remove the div <code>grid-child</code> then <code>col-span-3</code> doesn't work.</p>
  <p>So how can I deal with this?</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"/&gt;
  
  &lt;div class="container w-full grid grid-cols-12 mx-auto grid-parent"&gt;
    &lt;div class="col-span-3 bg-blue-500 h-screen"&gt;&lt;/div&gt;
    &lt;div class="col-span-9 h-screen bg-red-500"&gt;
      &lt;div class="grid grid-cols-12 grid-child"&gt;
        &lt;div class="col-span-3 bg-purple-500 h-20"&gt;&lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>