I'm having this layout using Bootstrap 3:
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-6">
<div class="img-col">
<div class="content">
<p>Some text here!</p>
</div>
</div>
</div>
<div class="col-lg-4 col-md-4 col-sm-6">
<div class="img-col">
<div class="content">
<p>
Some text here!<br>
Some text here!<br>
Some text here!<br>
Some text here!
</p>
</div>
</div>
</div>
</div>
and
.p { min-height: 350px; }
what I'm trying to do is, that both p
tags are having the same height, depending on which p
has more text in it but remain at 350px if its less text than 350px. Is this somehow doable in CSS only?
I found this question click, and tried to use table-cell (second answer). But it didnt work. Any solution?
Note: I didn't put the .container
there because there are many rows.
Note 2: I want the p
tags to be the same height, not the row!