title: Bootstrap col same height as the tallest
body: <p>I have a bunch of <code>.col-md-2</code> in my <em>Bootstrap</em> website. Inside each of these, I have an image, and each of these varies in height.</p>
  
  <p>I want to make all the columns the same height, so I can place the images on a "line".</p>
  
  <p><img src="https://i.stack.imgur.com/disnn.png" alt="enter image description here"></p>
  
  <p>Here's the HTML:</p>
  
  <pre><code>&lt;div class="row"&gt;
      &lt;div class="col-md-2"&gt;
          &lt;img src="http://lorempixel.com/400/300/" alt="" /&gt;
      &lt;/div&gt;
      &lt;div class="col-md-2"&gt;
          &lt;img src="http://lorempixel.com/400/200/" alt="" /&gt;
      &lt;/div&gt;
      &lt;div class="col-md-2"&gt;
          &lt;img src="http://lorempixel.com/300/200/" alt="" /&gt;
      &lt;/div&gt;
      &lt;div class="col-md-2"&gt;
          &lt;img src="http://lorempixel.com/200/200/" alt="" /&gt;
      &lt;/div&gt;
      &lt;div class="col-md-2"&gt;
          &lt;img src="http://lorempixel.com/400/400/" alt="" /&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And the CSS:</p>
  
  <pre><code>.col-md-2 {
      background-color: red;
  }
  
  .col-md-2:nth-child(odd) {
      background-color: green;
  }
  
  .col-md-2 img {
      max-width: 100%;
  }
  </code></pre>
  
  <p>And a working <a href="https://jsfiddle.net/3pk8oeto/" rel="nofollow noreferrer">JSFiddle</a></p>
  
  <p>How can I accomplish this?</p>