Scenario: I have a row with 3 columns, utilizing the Bootstrap grid system. Each column contains a panel with text in the body.
I desire for each panel to be the same height, regardless of the amount of text in the panel body.
How can this be achieved?
Check out my jsfiddle here: https://jsfiddle.net/ae5wvdye/1/
Here is the code snippet:
<div class="row">
<div class="col-sm-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Step 1</h3>
</div>
<div class="panel-body">
<p>
Example text goes here.
</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Step 2</h3>
</div>
<div class="panel-body">
<p>
Example text goes here.
</p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="panel panel-info">
<div class="panel-heading">
<h3 class="panel-title">Step 3</h3>
</div>
<div class="panel-body">
<p>
Example text goes here.
</p>
</div>
</div>
</div>
</div>
This current setup is not achieving the desired result aesthetically. I want each panel to occupy 100% of the row height, but I am struggling to make it work using CSS to enforce 100% row height (where the row height adjusts to the tallest panel automatically).