<div style="height: 100%; background: red">
<div style="height: 100px; background: green">
</div>
<div style="background: blue;">
<h1>Content</h1>
</div>
</div>
Is there a way to center the content of the blue box in the free space of the red block, with the parent block maintaining a height of 100%?
Similar to this: