title: How to vertically center row in container?
body: <p>By default the row aligns to the top.</p>
  
  <p>I tried to put margin-top: auto; and margin-bottom: auto; but doesn't work.
  Also vertical-align: middle; also does not work.</p>
  
  <p>Is there an easy fix to this?</p>
  
  <p>Thanks</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 {
  background-color:black;
  height: 100px;
  }
  
  .row {
  background-color:#fff;
  height: 50px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="row"&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>