<div class="container">
  <div class="item"></div>
  <div class="item"></div>
  <div class="item center"></div>
</div>
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  height: 90vh;
  width: 90vw;
  border: 3px solid black;
  margin: auto;
}

.item {
  padding: 50px;
  background: teal;
  width: 20vw;
}

.center {
  margin: auto;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.