title: Equal height children of flex items
body: <p>I'm having a problem creating a flexbox responsive grid and was hoping that someone can point me to the right direction.</p>
  
  <p>I want all the <code>.block</code> div's to be equal height, and the <code>.bottom</code> div absolutely positioned to the bottom. This is actually working in the current solution, but <strong><em>when the <code>h2</code> heading is too long and reaches 2 lines, I want all the <code>h2</code> headings of the row to be the same height</em></strong>.</p>
  
  <p>Is this possible in some way?</p>
  
  <p>I made a Codepen to illustrate the problem:
  <a href="http://codepen.io/kenvdbroek/pen/eZKdEQ" rel="noreferrer">http://codepen.io/kenvdbroek/pen/eZKdEQ</a></p>
  
  <p><div class="snippet" data-lang="js" data-hide="true" data-console="true" data-babel="false">
  <div class="snippet-code snippet-currently-hidden">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>h1,
  h2,
  h3 {
    margin: 0;
  }
  body {
    margin: 0;
    padding: 0;
  }
  ul.clean-list {
    margin: 0;
    padding: 0;
  }
  ul.clean-list li {
    list-style: none;
    margin-bottom: 5px;
  }
  li:last-child {
    margin-bottom: 0;
  }
  .container {
    padding-top: 50px;
  }
  .block {
    margin-bottom: 30px;
    border: 1px solid red;
  }
  .block &gt; .bottom {
    border: 1px solid blue;
  }
  @media only screen and (min-width: 480px) {
    .row.row-flex-wrapper::before,
    .row.row-flex-wrapper::after {
      content: none !important;
    }
    .row.row-flex-wrapper::after {
      clear: none;
    }
    .row.row-flex-wrapper {
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      flex-wrap: wrap;
      -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
    }
    .row.row-flex-wrapper .column {
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      float: none;
      border: 1px solid orange;
    }
    .row.row-flex-wrapper .column &gt; .block {
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      flex-direction: column;
      -ms-flex-direction: column;
      -webkit-flex-direction: column;
    }
    .row.row-flex-wrapper .column &gt; .block &gt; .block-list {
      flex: 1 0 auto;
      -ms-flex: 1 0 auto;
      -webkit-flex: 1 0 auto;
    }
    .row.row-flex-wrapper .column &gt; .block &gt; h2 {}
  }
  @media only screen and (min-width: 480px) and (max-width: 767px) {
    .container .row .column {
      width: 50%;
    }
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="container"&gt;
    &lt;div class="row row-flex-wrapper"&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Title 1&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
              It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
              with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Some link&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Some link 2&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Another very long title which is actually toooo long...&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer...&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/another-button"&gt;Another button&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Title&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer, Lorem Ipsum has been the industry's standard dummy text...&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Very nice link&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;This block is cool!&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Some text here. Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer, Lorem Ipsum has been the industry's standard dummy
              text...&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Another link&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Check this item&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Title Block&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Go check out this item... Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer, Lorem Ipsum has been the industry's standard
              dummy text...&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Button&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Buttonssssss&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
              It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
              with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="#button"&gt;Button&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Title&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Link to item&lt;/a&gt;
              &lt;/li&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Link to item&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Title&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
              It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
              with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Link to item&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="column col-sm-6 col-md-4"&gt;
        &lt;div class="block"&gt;
          &lt;h2&gt;Another very very very very very very very long title&lt;/h2&gt;
          &lt;div class="block-list"&gt;
            &lt;p&gt;Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.
              It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently
              with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="bottom"&gt;
            &lt;ul class="clean-list"&gt;
              &lt;li&gt;&lt;a href="/button"&gt;Button to item&lt;/a&gt;
              &lt;/li&gt;
            &lt;/ul&gt;
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>