<!DOCTYPE html>
<style type="text/css">
    .container {
        padding-top: 100px;
        height: 500px;
        background-color: cadetblue;
    }
    .hmm {
      min-height: 50%;
      background-color: pink;
      border: 10px solid rebeccapurple
    }
</style><div class="container"><div class="hmm">hello</div></div>