How to make the child div's height higher the parent div?
<p>I've seen the way to set this element's width to the width of another element, but I haven't seen the way to do this for the height.
Could someone explain how to do this with only the height?</p>

<p><img src="https://i.stack.imgur.com/1QAj5.png" alt="Example"></p>