title: flexbox with space-between, equal heigth, vertical and horizontal centered items
body: <p>I am trying to build a menu with flexbox with the following ideas:
  Space between the items, equal height, centered text (horizontal and vertical).</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>ul {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    justify-content: center;
  }
  
  li {
    width: 32.25%;
    align-items: center;
  }
  
  span {
    text-align: center;
    display: block;
    height: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ul&gt;
    &lt;li&gt;&lt;span&gt;Item&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;Item&lt;/span&gt;&lt;/li&gt;
    &lt;li&gt;&lt;span&gt;Item - much much much much much much much much much much more longer&lt;/span&gt;&lt;/li&gt;
  &lt;/ul&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>What should I do to get a correct menu? What should I do to center the text horizontally and vertically?</p>
  <p><img src="https://i.stack.imgur.com/TBh2Q.png" alt="menu with flexbox" /></p>