I'm running into some difficulty positioning an element in the bottom left corner when using a flexbox. Essentially I'm trying to make the 'world' text to appear directly below the 'hello' text (ie. the bottom left corner of the flexbox).
rel {
position: relative;
background: rgba(255, 0, 0, 0.5);
padding: 5px;
margin-top: auto;
}
abs {
position: absolute;
background: rgba(0, 255, 0, 0.5);
padding: 5px;
}
column {
display: flex;
flex-direction: column;
}
item {
display: flex;
align-items: center;
flex: auto;
border: 1px solid blue;
}
<column>
<item>
hello
<br>hello
<br>hello
<br>hello
<br>
<rel>
<abs>
world
<br/>world
<br/>world
<br/>world
<br/>
</abs>
</rel>
</item>
</column>