Please read my question before marking duplicate
I have bootstrap container in which i have few columns. I want to fix same height for all div.
What i got is this, however it will break the structure while resizing means not use full with responsiveness.
I know there are 2 main solution for them :
1. Flex
2. Table/table-cell
But both are not useful for me. I have also used overflow:hidden
and margin-bottom: -99999px;padding-bottom: 99999px;
solution but not useful for me.
Solution i have tried : This, this, and this but none of them is useful for me.
I have simply created fiddle(by some answer) but when i try to use the same way in my fiddle then its not giving the same output, don't know why.
I have read this tutorial and went through this too to know more about flex but none of them is useful for me.
So my final fiddle is this. Please check this one and let me know how can i make it responsive while keeping same height.
css
.bg-gray {
color: #666;
background: #efefef;
}
.mrg10T {
margin-top: 10px !important;
}
.mrg10A {
margin: 10px !important;
}
.csT
{
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
}
.csT div div{height:100%;}
Html
<div class="row mrg10T csT">
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Current subscription</div><div class="col-md-6 col-sm-6 col-xs-6">: Student Demo</div>
</div>
</div>
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Start date</div><div class="col-md-6 col-sm-6 col-xs-6">: 1st-Jan-2016</div>
</div>
</div>
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Expiry date</div><div class="col-md-6 col-sm-6 col-xs-6">: 31st-Dec-2016</div>
</div>
</div>
<div style="clear:both;">
</div>
</div>
<div class="row mrg10T csT">
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Renewal pricing</div><div class="col-md-6 col-sm-6 col-xs-6">: $100</div>
</div>
</div>
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Offers 1</div><div class="col-md-6 col-sm-6 col-xs-6">: 20% cash incentive (will be credited to your account)</div>
</div>
</div>
<div class="text-left col-md-4 thisclass">
<div class="row bg-gray pad5A mrg10A">
<div class="col-md-6 col-sm-6 col-xs-6 font-bold">Renewal pricing</div><div class="col-md-6 col-sm-6 col-xs-6">: $100</div>
</div>
</div>
<div style="clear:both;">
</div>
</div>