I am new to Bootstrap 4 and wondered if it is possible to bind a div to the bottom of its parent div. I use a class .containerwith a class .rowand some child divs:
<div class='container'>
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3">
<h3>Title</h3>
<p style="text-align: justify">Text</p>
<h4>Line I want to be fixed to bottom</h4>
</div>
<div>...</div>
<div>...</div>
</div>
</div>
So, each div in .rowgets the height of the highest div, and for others - the remaining space. Now I have something like this:
+------------------++------------------++------------------+
|-------title------||-------title------||-------title------|
|-------text1------||-------text2------||-------text3------|
|-------text1------||-------text2------||--lineIWantToFix--|
|-------text1------||--lineIWantToFix--||-------space------|
|-------text1------||-------space------||-------space------|
|--lineIWantToFix--||-------space------||-------space------|
+------------------++------------------++------------------+
And I want it to be like this:
+------------------++------------------++------------------+
|-------title------||-------title------||-------title------|
|-------text1------||-------text2------||-------text3------|
|-------text1------||-------text2------||-------space------|
|-------text1------||-------space------||-------space------|
|-------text1------||-------space------||-------space------|
|--lineIWantToFix--||--lineIWantToFix--||--lineIWantToFix--|
+------------------++------------------++------------------+
source
share