flex child dosent occupy the left height space code example Example: flexbox stretch height .flex-2 { display: flex; align-items: stretch; }