<div class="container">
  <div class="item"></div>
</div>
.container {
  position: relative;
  background: hsl(140, 96%, 82%)
}

.item {
  margin: 0 auto;
  width: 200px;
  height: 200px;
  background: hsla(336, 100%, 85%, 0.88);
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.