<html>
<body>
<div style="background: blue; height: 100px;">
  <div style="background: purple; height: 50px;"></div>
</div>
</body>
</html>