title: Keep the middle item centered when side items have different widths
body: <p><a href="https://i.stack.imgur.com/WnUks.gif"><img src="https://i.stack.imgur.com/WnUks.gif" alt="enter image description here"></a></p>
  
  <p>Imagine the following layout, where the dots represent the space between the boxes:</p>
  
  <pre><code>[Left box]......[Center box]......[Right box]
  </code></pre>
  
  <p>When I remove the right box, I like the center box to still be in the center, like so:</p>
  
  <pre><code>[Left box]......[Center box].................
  </code></pre>
  
  <p>The same goes for if I would remove the left box.</p>
  
  <pre><code>................[Center box].................
  </code></pre>
  
  <p>Now when the content within the center box gets longer, it will take up as much available space as needed while remaining centered. The left and right box will never shrink and thus when where is no space left the <code>overflow:hidden</code> and <code>text-overflow: ellipsis</code> will come in effect to break the content;</p>
  
  <pre><code>[Left box][Center boxxxxxxxxxxxxx][Right box]
  </code></pre>
  
  <p>All the above is my ideal situation, but I have no idea how to accomplish this effect. Because when I create a flex structure like so:</p>
  
  <pre><code>.parent {
      display : flex; // flex box
      justify-content : space-between; // horizontal alignment
      align-content   : center; // vertical alignment
  }
  </code></pre>
  
  <p>If the left and right box would be exactly the same size, I get the desired effect. However when one of the two is from a different size the centered box is not truly centered anymore.</p>
  
  <p>Is there anyone that can help me?</p>
  
  <p><strong>Update</strong></p>
  
  <p>A <code>justify-self</code> would be nice, this would be ideal:</p>
  
  <pre><code>.leftBox {
       justify-self : flex-start;
  }
  
  .rightBox {
      justify-self : flex-end;
  }
  </code></pre>