<div id="container">
</div>
body {
  background: #caf0f8;
  display: flex;
}
#container {
  margin: auto auto;
  width: 5cm;
  height: 5cm;
  background: #03045e;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.