title: How to fix flex column height bug in IE
body: <p>In IE I am having a problem where my flex column is stretched for unknown reasons. I need the image height and width of each flex item to always be the same and also be responsive so I need them at 100%. I also need the flex footer to always be at the same level as the others, stuck to the bottom of the container regardless of whether the flex-name spans more than 1 line.</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>.flex-container {
    display: flex;
    border: 1px solid red;
  }
  
  .flex-item-wrapper {
    display: flex;
    border: 1px solid green;
    flex-direction: column;
    width: 185px;
  }
  
  .link-spanner {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
  }
  
  .flex-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: auto;
  }
  
  .image-container {
    margin-top: 5px;
    position: relative;
    width: 100%;
  }
  
  img {
    height: 100%;
    width: 100%;
  }
  
  .flex-item-name {
    max-width: 100%;
    text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="wrapper"&gt;
    &lt;div class="flex-container"&gt;
      &lt;div class="flex-item-wrapper"&gt;
        &lt;a href='#' class="link-spanner"&gt;&lt;/a&gt;
        &lt;div class="flex-header"&gt;
          &lt;div class="image-container"&gt;
            &lt;img class="picture" src="http://www.picgifs.com/clip-art/cartoons/super-mario/clip-art-super-mario-832109.jpg" alt=""&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="flex-name"&gt;Bingobongo Bongobingobongo&lt;/div&gt;
        &lt;div class="flex-footer"&gt;
          &lt;button&gt;submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="flex-item-wrapper"&gt;
        &lt;a href='#' class="link-spanner"&gt;&lt;/a&gt;
        &lt;div class="flex-header"&gt;
          &lt;div class="image-container"&gt;
            &lt;img class="picture" src="http://www.picgifs.com/clip-art/cartoons/super-mario/clip-art-super-mario-832109.jpg" alt=""&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="flex-name"&gt;Bingobongo Bongo&lt;/div&gt;
        &lt;div class="flex-footer"&gt;
          &lt;button&gt;submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="flex-item-wrapper"&gt;
        &lt;a href='#' class="link-spanner"&gt;&lt;/a&gt;
        &lt;div class="flex-header"&gt;
          &lt;div class="image-container"&gt;
            &lt;img class="picture" src="http://www.picgifs.com/clip-art/cartoons/super-mario/clip-art-super-mario-832109.jpg" alt=""&gt;
          &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="flex-name"&gt;Bingobongo Bongobingobongo&lt;/div&gt;
        &lt;div class="flex-footer"&gt;
          &lt;button&gt;submit&lt;/button&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p><a href="https://jsfiddle.net/a9kb5wdw/6/" rel="noreferrer">jsfiddle</a></p>