title: Hiding columns in CSS Grid
body: <p>I am newish to css grid and I am trying to figure out how I can make a column completely go away and enforce the others to stack.</p>
  
  <p>I basically want the red crossed out ones below to completely go away and just stack all the others in the grid into several rows.</p>
  
  <p><a href="https://i.stack.imgur.com/3EqXk.png" rel="noreferrer"><img src="https://i.stack.imgur.com/3EqXk.png" alt="enter image description here"></a></p>
  
  <p>With that code below I want <code>block 4</code> to disappear. Then I want blocks 1/2/3/5/6 to stack. </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>.wrapper {
    display: grid;
    grid-template-columns: repeat(3, minmax(155px, 1fr)) 1fr;
    grid-gap: 10px;
    padding: 0.5rem;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;div&gt;
      Block 1
    &lt;/div&gt;
    &lt;div&gt;
      Block 2
    &lt;/div&gt;
    &lt;div&gt;
      Block 3
    &lt;/div&gt;
    &lt;div&gt;
      Block 4
    &lt;/div&gt;
    &lt;div&gt;
      Block 5
    &lt;/div&gt;
    &lt;div&gt;
      Block 6
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>A codepen of it:</p>
  
  <p><a href="https://codepen.io/allencoded/pen/goNYwv" rel="noreferrer">https://codepen.io/allencoded/pen/goNYwv</a></p>