I have a div block that needs to always be displayed at the bottom of the section, regardless of whether the section above is empty. The inner div should stay at the bottom of the section, as shown in the attached image.
https://i.sstatic.net/cor6k.jpg
This is my current code:
<div class="col-md-6 col-xs-6" style="position:relative; min-height:300px;">
Content for upper section
<div class="row" style="position:absolute; bottom:0 !important;">
<div class="col-xs-12">
Div at the footer section of the parent div
</div>
</div>
</div>
Although I expect the bottom div to remain at the footer of the parent div even if there is no content in the top section, it currently starts from the top section. Please help me resolve this issue.