title: Flexbox: Align between bottom and center?
body: <p>Does someone know how to create this layout, using flexbox?</p>
  
  <p><a href="https://i.stack.imgur.com/NSX3P.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NSX3P.png" alt="enter image description here"></a></p>
  
  <p>The text is going to be placed in the center, and the button is going to be placed between the text and bottom.</p>
  
  <p>I have this now:</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>.aligner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="aligner"&gt;
    &lt;h3&gt;SUPERMAN&lt;/h3&gt;
    &lt;p&gt;FTW&lt;/p&gt;
    &lt;button&gt;BUTTON&lt;/button&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This aligns everything in the center, but I want only the text to be in center, and the button between center and the bottom.</p>