I'm trying to align 3 sibling elements like in the image, is there a way to accomplish this with flexbox? I've done it before but without having all of them as siblings, I mean I used to wrap the two elements at the left in a div and let the one in the right outside of the wrapper, but now I've been trying to do it without wrapping any of them to have more flexibility.
Rules:
1) Sibling elements
2) All elements should have an independent height, depending on the content.
div{
background: #000;
color: #fff;
margin-top: 5px;
min-height: 50px;
}
<div class="parent">
<div class="sibling-1">Sibling 1</div>
<div class="sibling-2">Sibling 2</div>
<div class="sibling-3">Sibling 3</div>
</div>