title: Align flexbox with flex-direction:column to vertical center
body: <p>How to align items to vertical center? </p>
  
  <p>I am using both <code>flex-direction: column;</code> and <code>align-items: center;</code>.</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>.box{
  border: 1px solid red;
  width: 100%;
  height: 180px;
  
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  }
  
  .item{
  width: 20%;
  border: 1px solid green;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="box"&gt;
    &lt;div class="item"&gt;1&lt;/div&gt;
    &lt;div class="item"&gt;2&lt;/div&gt;
    &lt;div class="item"&gt;3&lt;/div&gt;
    &lt;div class="item"&gt;4&lt;/div&gt;
    &lt;div class="item"&gt;5&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>