2 questions. It seems that flexbox is a great tool for symmetrical layouts. However, when wrapping elements I cannot find examples of manipulating the last item(s) to kind of "break row flow" and either stick it to the right similar to how justify-content:flex-end;
works or stack on top of each other.
Here is the codepen and code:
body {
display: flex;
flex-wrap: wrap;
}
.full-width {
flex: 100%;
}
.fifty {
flex: 0 0 50%;
}
.one-third {
flex: 0 0 33%;
/*how do we get the second .one-third to stick to the right?*/
}
<div class="full-width">full-width</div>
<div class="fifty">fifty</div>
<div class="fifty">fifty</div>
<div class="one-third">one-third</div>
<div class="one-third">one-third <br/> How do we get this to stick to the right when part of a row?</div>
Here is a screenshot of what row wrapping looks like:
A similar question I can't find anything on is if it's possible to stack the last two elements in a row on top of each other.