title: Mixing fixed length and repeat() in CSS Grid
body: <p>I'm trying to make a calendar using a grid layout. Each day of the week will have a header.  My goal is to set the height of the header (ie: the first row in the grid) to 30px, and have the rest of the rows split the rest of the available space.</p>
  
  <p>My calendar CSS looks like this:</p>
  
  <pre><code>.calendar{
      display:grid;
      grid-template-columns:repeat(1,1fr);
      grid-template-rows:30px repeat(auto-fill,1fr);
  }
  </code></pre>
  
  <p>Now, I <em>thought</em> that would do exactly what I want, but that <code>30px</code> has no effect, and each row is an equal height.  Is it possible to mix a static value and <code>repeat()</code>?</p>
  
  <p>I realize I can just make 2 grids - one for the headers and one for the days - but I'm curious if there's a way cleaner way.</p>
  
  <p>Demo here: <a href="https://codepen.io/anon/pen/yGEaOm" rel="noreferrer">https://codepen.io/anon/pen/yGEaOm</a></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>.calendar {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 30px repeat(auto-fill, 1fr);
  }
  
  
  /** Appearance styles that don't affect the layout */
  .calendar {
    min-height: 200px;
  }
  .day {
    border: 1px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="calendar"&gt;
    &lt;div class="day"&gt;
      First
    &lt;/div&gt;
    &lt;div class="day"&gt;
      Second
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>