<h2>flex-start - </h2>
<div class="parent start">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>

<h2>flex-end - </h2>
<div class="parent end">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>

<h2>center - </h2>
<div class="parent center">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>

<h2>space-between - </h2>
<div class="parent between">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>

<h2>space-around - </h2>
<div class="parent around">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>

<h2>space-evenly - </h2>
<div class="parent evenly">
  <div class="box"></div>
  <div class="box"></div>
  <div class="box"></div>
</div>
.parent{
  width: 100%;
  background-color: #e5e5e5;
  display: flex;
  margin: 15px 0;
}

.box{
  width: 50px;
  height: 50px;
  background-color: #333;
  margin:10px;
}

.start{
  justify-content:flex-start;
}

.end{
  justify-content:flex-end;
}

.center{
  justify-content:center;
}

.between{
  justify-content:space-between;
}

.around{
  justify-content:space-around;
}

.evenly{
  justify-content:space-evenly;
}

h2{
  font-family: arial;
  margin-top: 10px;
  margin-bottom: 0;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.