<div class="parent">
  <div class="child">1</div>
  <div class="child">2</div>
  <div class="child">3</div>
</div>
.parent {
  display: flex;
  align-items: center;
  height: 100vh;
}

.child {
  flex-grow: 1;
}

.child:nth-child(2) {
  align-self: stretch;
}
  
/* --------- Non-flexbox related styles --------- */
.parent > div {
  margin: 2%;
  padding: 20px;
  font-size: 60px;
  line-height: 80px;
  color: #ffe8c3;
  text-align: center;
  background-color: #eab768;
  border-radius: 10px;
  border: 10px solid #f5cc8b;
}

.parent > div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
}

body {
  background-color: #282c35;
  font-family: Verdana;
  font-weight: 600;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.