.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  height: 8rem;
  align-items: stretch;
}

.grid div {
  padding: 0.5rem;
  border: 1px solid;
  background: white;
  color: black;
}

.grid__mid {
  align-self: center;
  background: lightyellow;
}