For this project I am learning and practicing Bootstrap. I'm trying to set up 3 tiles to go across the screen at medium viewports and up and stack at anything smaller. I have an icon, a header and paragraph in these tiles. The paragraphs for each tile are differing lengths. When I resize the browser some containers don't touch the bottom and there is empty space at the bottom because that containers paragraph may only be 2 lines instead of 3.
How can I make it so that they all touch the bottom without setting a fixed height on the container or using any kind of ellipsis?
codepen example: http://codepen.io/MrAdam/pen/QKbJAR?editors=1100
HTML:
<div class="tile tile1 col-md-4 text-xs-center">
<i class="fa fa-book" aria-hidden="true"></i>
<h2>Learn</h2>
<p>Our smaller class sizes ensure you get quality personal time with instructors</p>
</div>
<div class="tile tile2 col-md-4 text-xs-center">
<i class="fa fa-code" aria-hidden="true"></i>
<h2>Code</h2>
<p>Learn technologies such as HTML5, CSS3, JavaScript, Angular.js and Node.js.</p>
</div>
<div class="tile tile3 col-md-4 text-xs-center">
<i class="fa fa-wrench" aria-hidden="true"></i>
<h2>Create</h2>
<p>Create projects that give you real world experience and you can put in your portfolio</p>
</div>
</div>
</div>
.tile {
padding: 3rem;
color: #F5EFED;
text-align: justify;
}
CSS:
.tile i {
font-size: 2.6rem;
padding: 1rem;
border-radius: 50%;
border: 3px solid #F5EFED;
margin: 1rem 0;
}
.tile1 {
background: url(../img/tile1.jpg)
center / cover
no-repeat;
}
.tile2 {
background: url(../img/code.jpg)
center / cover
no-repeat;
}
.tile3 {
background: url(../img/create2.jpg)
center bottom / cover
no-repeat;
}