.container
  .inner-container
    .component
    .component
    .component
    .component
View Compiled
* {
  box-sizing: border-box;
}

.container {
  width: 50vw;
  margin: 15vh auto;
  border: 2.5vw solid coral;
  border-radius: 2vw;
}

.inner-container {
  display: flex;
  width: 47vw;
  margin: -1vw;
}

.component {
  width: 100%;
  height: 50vh;
  background-color: pink;
  margin: 1vw;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.