I am getting frustrated because I can't get all the columns the same height. Everything looks great inside the product-item , just the way I want it.But on some rows the columns are not the same height.
I've tried all these solutions and I couldn't get it to work...I've tried all the solutions with display:flex
How can I make Bootstrap columns all the same height?
Could someone tell me what I am doing wrong ? How can I fix this please ? thanks in advance..
this is my code so far
<div class="container col-xs-12 col-sm-12 col-md-12">
<div class="product-item col-xs-12 col-sm-12 col-md-4">
<a href="#">
<div class="item-img col-xs-6 col-sm-6 col-md-6">
<img src="#">
<p style="font-size:13px;"><b>Exp date</b></p>
<p class="price"><b>$1.09</b></p>
</div>
<div class="item-content col-xs- col-sm-6 col-md-6">
<h3>Title</h3>
<p>Description</p>
</div>
</a>
</div>
</div>
.product-item {
width: 368px;
min-height: 150px;
background: none;
padding: 12px 0px 10px 0px;
margin: 10px 5px;
color: #000;
text-align: left;
border: 2px solid #F48B3A;
}
.product-item .item-content {
max-height: 140px;
overflow: hidden;
}
.item-img .price {
color: blue;
font-weight: 600;
font-size: 14px;
}