title: Remove space between rows in flex container
body: <p>A have this HTML 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>.d1 {
    margin: 3rem auto;
    background: #c3c3c0;
    width: 400px;
    height: 600px;
    display: flex;
    flex-wrap: wrap;
  }
  
  .d2 {
    background: #838e85;
    width: 70px;
    height: 70px;
    margin: 1rem;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="d1"&gt;
    &lt;div class="d2"&gt;1&lt;/div&gt;
    &lt;div class="d2"&gt;2&lt;/div&gt;
    &lt;div class="d2"&gt;3&lt;/div&gt;
    &lt;div class="d2"&gt;4&lt;/div&gt;
    &lt;div class="d2"&gt;5&lt;/div&gt;
    &lt;div class="d2"&gt;6&lt;/div&gt;
    &lt;div class="d2"&gt;7&lt;/div&gt;
    &lt;div class="d2"&gt;8&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>and it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/P19KN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P19KN.png" alt="enter image description here"></a></p>
  
  <p>But I need <code>div.d2</code> to be aligned to top without vertical space between rows.</p>
  
  <p>Is it possible? And if yes, How to deal with this?</p>