<div class="outer-div">
  <div class="inner-div"></div>
</div>
/* base styles */
.outer-div {
  background-color: red;
  width: 150px;
  height: 150px;
}

.inner-div {
  background-color: blue;
  width: 50px;
  height: 50px;
}


/* Add styles below to center the blue div */
.outer-div {
  
}

.inner-div {
  
}


document.getElementsByTagName("h1")[0].style.fontSize = "6vw";

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.