title: CSS: Flex is resizing div on next row
body: <p>My problem is that whenever I resize the window, the divs should warp to the next row if there is not place with the same size as all the other divs.</p>
  
  <p>View this in "Full Page" and try to resize yourself.</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-html lang-html prettyprint-override"><code>&lt;html&gt;
  &lt;body&gt;
    &lt;div id="wrapper" style="display: flex; width: 100%; flex-wrap: wrap; justify-content: center;"&gt;
      &lt;div id="content" style="display: inline-block; flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
      &lt;div id="content" style="display: inline-block; flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
      &lt;div id="content" style="display: inline-block;flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
      &lt;div id="content" style="display: inline-block;flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
      &lt;div id="content" style="display: inline-block;flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
      &lt;div id="content" style="display: inline-block;flex: 13px; text-align: center; background-color: red; border: 3px solid grey; height: 200px; min-width: 150px; max-width: 250px;"&gt;
        Hey!
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This is how it should look like:
  <a href="https://i.stack.imgur.com/e3HEF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/e3HEF.png" alt="Image"></a></p>