I am in the process of designing a full-height header with one element centered and another element positioned at the bottom.
Typically, I have utilized position: absolute;
for this layout, but I would like to explore using flex
instead.
.full-header {
background-color: green;
display: flex;
}
.align-item-center {
background-color: blue;
}
.align-item-end {
background-color: red;
}
<div class="container full-header">
<div class="align-item-center">
Row 1
</div>
<div class="align-item-end">
Row 2
</div>
</div>
To assist in illustrating my objective, I have included a diagram. Additionally, I am using bootstrap 4, but I welcome any guidance on utilizing native flex properties.