title: flexbox exclude last item from nowrap
body: <p>I have set flexbox nowrap on my container. At specific width, using media queries, I would like to push last item in container (item 3) into new line so it does not influence flex items in container. Is this possible with css, without javascript? I can use some additional html markup if necessary.</p>
  
  <p>Note: there could be more than 3 items in container, this is just an example with 3 items.</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>.container {
    display: flex;
    flex-flow: nowrap;
    justify-content: space-between;
  }
  
  @media (max-width: 700px) {
    
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
  
    &lt;div class="flex-item"&gt;
      ITEM 1
    &lt;/div&gt;
    &lt;div class="flex-item"&gt;
      ITEM 2
    &lt;/div&gt;
    &lt;div class="flex-item"&gt;
      ITEM 3
    &lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>