title: Is it possible to place all the items in grid in one row when I don't know the number of columns?
body: <p>I'm trying to make a grid container that has undefined number of columns and I want it to be one row. Is there any way to do this in CSS?</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 {
    display: grid;
    grid-gap: 5px;
  }
  
  .grid &gt; div {
    background: #ccc; 
    min-height: 100px; 
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="grid"&gt;
    &lt;div&gt;&lt;/div&gt;
    &lt;div&gt;&lt;/div&gt;
    &lt;div&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>