.container
  .component
  .component
  .component
  .component
View Compiled
.container {
  width: 50vw;
  height: 50vh;
  margin: 15vh auto;
  border: 50px solid coral;
  border-radius: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
}

.component {
  width: 100%;
  height: 100%;
  background-color: pink;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.