With Bootstrap 3.3.6 I want to make 3 cards.
<div class="row">
<div class="col-md-4">
<div class="card">
<p>Some dummy text here</p>
<button>Click Here</button>
</div>
</div>
<div class="col-md-4">
<div class="card">
<p>Some dummy text here</p>
<button>Click Here</button>
</div>
</div>
<div class="col-md-4">
<div class="card">
<p>Some dummy text here</p>
<button>Click Here</button>
</div>
</div>
</div>
.card {
border: 1px solid #ddd;
border-radius: 5px;
padding: 20px;
}
Now that the Dummy text is not the same length, the cards will not be the same height.
I found a trick using flexbox here: How can I make Bootstrap columns all the same height?, but this will be working on the immediate children of the .row not the .card
Another thing, even if the cards will be the same height, the buttons will not be on the same line as they will follow the the text.