<div class="container">
  <div class="item">1</div>
  <div class="item">2</div>
  <div class="item">3</div>
  <div class="item">4</div>
  <div class="item">5</div>
</div>
.container{
  background-color: powderblue;
  height:200px;
  display:flex;
  flex-direction:row;
}
.item{
  background-color: tomato;
  color:white;
  border:1px solid white;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.