I've spent a couple of hours trying to get the text within my flex elements vertical aligned with no luck. Feels like I'm missing something very important here!
HTML
<div class="flex-container">
<div class="flex-item">
test
</div>
<div class="flex-item">
test
</div>
</div>
CSS
.flex-container {
height:100%;
display: flex;
flex-direction: column;
flex-wrap: nowrap;
justify-content: center;
align-content: stretch;
align-items: stretch;
}
.flex-item {
flex: 1 auto;
}