title: Break elements onto new line with flex-grow and flex-wrap
body: <p>I have a parent div (<code>.tags</code>) that contains links and a title.</p>
  
  <p>The parent div is set to <code>display: flex;</code> with <code>flex-wrap: wrap;</code>.</p>
  
  <p>I would like the link elements to break onto a new line, clearing the title when the wrap effect takes place.</p>
  
  <p>I have tried using <code>flex-grow: 1</code> on the title, but this makes it push the links to the right of the screen at all times, which is not what I am after. </p>
  
  <p>I have attached the code I have so far, but here is a link to the <a href="http://codepen.io/matthewelsom/pen/yejdVd" rel="nofollow noreferrer">Codepen</a></p>
  
  <p><strong>What I am trying to achieve:</strong></p>
  
  <p><strong>Default</strong> - the width of the screen is large enough so nothing wraps and everything is on one line > </p>
  
  <p><a href="https://i.stack.imgur.com/zwkyF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zwkyF.png" alt="Before Wrap"></a></p>
  
  <p><strong>Wrapped</strong> - the width of the screen is smaller, the wrap has occurred - the title now has 100% width and the links clear it ></p>
  
  <p><a href="https://i.stack.imgur.com/wsSaQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wsSaQ.png" alt="enter image description here"></a></p>
  
  <p>Note that the number of links could vary.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.container {
    background: lightgray;
    width: 100%;
  }
  
  .tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
  }
  .tags span {
    margin: 1rem;
  }
  .tags .tag {
    margin: 0.2rem;
    padding: 0.2rem;
    background: dodgerblue;
    color: white;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="tags"&gt;
      &lt;span&gt;Tagged in:&lt;/span&gt;
      &lt;a class="tag" href="#"&gt;capabilities&lt;/a&gt;
      &lt;a class="tag" href="#"&gt;sales&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>