Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<style>
.item { background: pink; margin-top: auto}
.strut {
visibility: collapse;
margin-left: auto; /* This should have no effect (but it does!) */
}
</style>
<div style="display:flex; flex-direction: column;
height: 100px; border: 1px solid black">
<div class="item">This text should be bottom-aligned</div>
<div class="strut"></div>
</div>