I need to align all child elements with full height relative to the parent element.
Everything is fine until I use the align-items: center; property, I align the elements but it does not cover 100%, and if I use align-self: stretch; covers 100% but does not align the elements vertically, there is some solution for this.
.abouts {
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
display: -o-flex;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
align-self: stretch;
}
.abouts .item {
flex: 1;
margin: 5px;
padding: 15px;
background-color: rgba(0,0,0,0.1);
}
<div class="abouts">
<!-- ITEM -->
<div class="item">
<h3>Vision</h3>
<p>Content here details, more content height...</p>
</div>
<!--/ ITEM -->
<!-- ITEM -->
<div class="item">
<h3>Vision</h3>
<p>Content here details...</p>
</div>
<!--/ ITEM -->
<!-- ITEM -->
<div class="item">
<h3>Vision</h3>
<p>Content here details, more content for test equal height all elements more content for test equal height all elements...</p>
</div>
<!--/ ITEM -->
</div>