I am trying to make the children elements occupy full height of the parent div. I've tried various approaches as per other answers on stack overflow but nothing seems to work.
I've tried setting align-items: stretch to parent, align-self: stretch to children, height: 100% to children. What am I missing?
HTML
<div class="parent">   
  <div class="child blue">
    content...
  </div>
  <div class="child red">
      content...
  </div>
  <div class="child yellow">
      content...
  </div>
</div>
CSS
.parent {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.child {
  display: flex;
  height: 100%;
  align-self: stretch;
}
Fiddle example: https://jsfiddle.net/f8zxc4go/
 
     
     
    