Seeking guidance on aligning content of a div to the bottom using css
Any assistance or pointing in the right direction would be greatly appreciated.
This is the desired outcome for me.
https://i.sstatic.net/WtOj6.png
This is the code snippet I am working with:
.bbb{
text-align:center;
bottom: 20px;
}
.text-wi{
border-top:2px dashed #13aff2;
padding: 5px 0 0 20px;
}
.haha{
padding:5px
}
.widget-host {
display: grid;
grid-template-columns:auto auto;
grid-gap: 20px;
}
.widget-host > div.host-woovn {
border: 1px solid #e9e9e9;
padding: 0 5px 0 5px;
}
.button{
background-color: #669900;
text-align: center;
color: #fff;
cursor: pointer;
font-weight: bold;
font-size: 14px;
padding: 8px 15px;
display: inline-block;
margin-bottom: 10px;
height: initial;
border-radius: 4px;
}
<div class="widget-host"><div class="host-woovn">
AAAAAAAAAAAAAAAAA<div class="text-wi">
– A<br>
– B<br>
– C<br>
– D<br>
– C
</div>
<div class="bbb"><a href="/" target="_blank" class="button">AAAAA</a></div>
</div>
<div class="host-woovn">
BBBBBBBBBBBBBBB<div class="text-wi">
– A<br>
– B<br>
– C<br>
– D<br>
– E<br>
– B<br>
– C<br>
– F</div>
<div class="bbb"><a href="/" target="_blank" class="button">BBBB</a></div>
</div></div>
The current implementation is not achieving my desired layout. Any insights on what could be improved?
Your help and feedback are highly valued.