title: Why won't fr units work with grid-template-rows on CSS grid?
body: <p>I can't get the <code>grid-template-rows</code> to work with <code>fr</code> units. I can get the row height to change with other units like pixels but not with <code>fr</code> units. </p>
  
  <p>I don't understand why this isn't working as the <code>fr</code> units are working with <code>grid-template-columns</code>. </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-css lang-css prettyprint-override"><code>.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
    text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="grid-container"&gt;
    &lt;div class="item"&gt; 1 &lt;/div&gt;
    &lt;div class="item"&gt; 2 &lt;/div&gt;
    &lt;div class="item"&gt; 3 &lt;/div&gt;
    &lt;div class="item"&gt; 4 &lt;/div&gt;
    &lt;div class="item"&gt; 5 &lt;/div&gt;
    &lt;div class="item"&gt; 6 &lt;/div&gt;
    &lt;div class="item"&gt; 7 &lt;/div&gt;
    &lt;div class="item"&gt; 8 &lt;/div&gt;
    &lt;div class="item"&gt; 9 &lt;/div&gt;
    &lt;div class="item"&gt; 10 &lt;/div&gt;
    &lt;div class="item"&gt; 11 &lt;/div&gt;
    &lt;div class="item"&gt; 12 &lt;/div&gt;
    &lt;div class="item"&gt; 13 &lt;/div&gt;
    &lt;div class="item"&gt; 14 &lt;/div&gt;
    &lt;div class="item"&gt; 15 &lt;/div&gt;
    &lt;div class="item"&gt; 16 &lt;/div&gt;
    &lt;div class="item"&gt; 17 &lt;/div&gt;
    &lt;div class="item"&gt; 18 &lt;/div&gt;
    &lt;div class="item"&gt; 19 &lt;/div&gt;
    &lt;div class="item"&gt; 20 &lt;/div&gt;
    &lt;div class="item"&gt; 21 &lt;/div&gt;
    &lt;div class="item"&gt; 22 &lt;/div&gt;
    &lt;div class="item"&gt; 23 &lt;/div&gt;
    &lt;div class="item"&gt; 24 &lt;/div&gt;
    &lt;div class="item"&gt; 25 &lt;/div&gt;
    &lt;div class="item"&gt; 26 &lt;/div&gt;
    &lt;div class="item"&gt; 27 &lt;/div&gt;
    &lt;div class="item"&gt; 28 &lt;/div&gt;
    &lt;div class="item"&gt; 29 &lt;/div&gt;
    &lt;div class="item"&gt; 30 &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is a template to illustrate the result.</p>
  
  <p>I am not sure why some of the blocks are missing on the bottom diagram.</p>
  
  <p><img src="https://i.stack.imgur.com/qQOR0.jpg" alt="What I expect with the CSS grid"></p>