title: Keep wrapped flex items on left while others centred
body: <p>I'm trying to display a list of flex items with fixed width in the center of flexbox with wrap by using <code>margin: auto</code>. When wrap happens, the wrapped item also centers in its own container: </p>
  
  <p><a href="https://i.stack.imgur.com/3GZX1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3GZX1.png" alt="enter image description here"></a></p>
  
  <p>Is there a way to keep the wrapped item on the left while everything else is centred? </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>.parent {
    display: flex;
    flex-wrap: wrap;
    height: 100px;
  }
  
  .children {
    flex: 1;
    border: 1px solid black;
    max-width: 300px;
    min-width: 300px;
    margin: auto;
    height: 100px;
    margin-top: 1rem;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="parent"&gt;
    &lt;div class="children"&gt;&lt;/div&gt;
    &lt;div class="children"&gt;&lt;/div&gt;
    &lt;div class="children"&gt;&lt;/div&gt;
    &lt;div class="children"&gt;&lt;/div&gt;
    &lt;div class="children"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>