title: Line separators between elements in flexbox
body: <p>I am trying to make a line of elements using <code>display:flex;</code> in CSS with the same spacing for text.</p>
  
  <p>Here is what i got, i achived it using <code>display: inline-block;</code> and spacing differences between text - which i would want to make the same for every text.</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>element {
    border-width: 1px;
    border-style: solid;
    color: rgb(0, 146, 247);
    display: inline-block;
    height: 18px;
    border-radius: 30px;
    vertical-align: middle;
  }
  
  .footertext {
    font-family: 'Open Sans', sans-serif;
    color: rgb(124, 134, 205);
    margin-left: 20px;
    margin-right: 20px;
    display: inline-block;
    vertical-align: middle;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div&gt;
    &lt;p class="footertext"&gt;
      First Line
    &lt;/p&gt;
    &lt;element&gt;&lt;/element&gt;
    &lt;p class="footertext"&gt;
      ABC
    &lt;/p&gt;
    &lt;element&gt;&lt;/element&gt;
    &lt;p class="footertext"&gt;
      Third Line
    &lt;/p&gt;
    &lt;element&gt;&lt;/element&gt;
    &lt;p class="footertext"&gt;
      DEFG
    &lt;/p&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I need those funny elements between text and when i try to use <code>display:flex;</code> those are going out of bounds.</p>