Inherit the child height and apply it to the parent div, works with window resize.