title: Stack flex items on top of each other
body: <p>How can I simply display the <code>h3</code> tag and <code>p</code> tag on separate lines, with the <code>h3</code> tag on the top?</p>
  
  <p>This code is part of a bigger project and I know there are other ways of positioning elements in the centre on separate lines, but I don't want to have to affect its parent elements (of the bigger project) and want to use a simpler flex box.</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>.hover-over-windows-style {
    height: 100%;
    background: red;
    /* Fails because h3 and p tags are not on separate lines */
    display: flex;
    align-items: center;
    /* padding-top of 25% nearly works but content isnt in centre of parent div */
  }
  
  #parent {
    height: 300px;
    width: 300px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div id="parent"&gt;
    &lt;div class="hover-over-windows-style"&gt;
      &lt;h3&gt;&lt;a href="matches/blitz.html"&gt;H3 Tag on top&lt;/a&gt;&lt;/h3&gt;
      &lt;p&gt;Paragraph here should be below the H3 tag, on a separate line. Not sure how to get this done. Setting 100% widths don't work and cannot display as block elements.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>