.cover {
  display: grid;
  place-items: center;
  width: 12rem;
}

.cover > * {
  grid-area: 1 / 1;
}

.fill {
  place-self: stretch;
  height: 6rem;
  background-color: gold;
}
