<div class="container">
  <div class="item item--1"></div>
  <div class="item item--2"></div>
  <div class="item item--3"></div>
  <div class="item item--4"></div>
  <div class="item item--5"></div>
</div>
.container {
  display: flex;
}

.item {
  height: 100px;
  width: 100px;
}

.item--1 {
  background-color: red;
}

.item--2 {
  background-color: green
}

.item--3 {
  background-color: blue;
}

.item--4 {
  background-color: yellow;
}

.item--5 {
  background-color: black;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.