<div class="flex-item flex-start">
  <div class=box>A</div>  
  <div class=box>B</div>
  <div class=box>C</div>
</div>
<div class="flex-item flex-end">
  <div class=box>A</div>  
  <div class=box>B</div>
  <div class=box>C</div>
</div>
<div class="flex-item flex-center">
  <div class=box>A</div>  
  <div class=box>B</div>
  <div class=box>C</div>
</div>
<div class="flex-item flex-between">
  <div class=box>A</div>  
  <div class=box>B</div>
  <div class=box>C</div>
</div>
<div class="flex-item flex-around">
  <div class=box>A</div>  
  <div class=box>B</div>
  <div class=box>C</div>
</div>
body {
  font-family: Lato, sans-serif;
}

.box {
  width: 50px;
  height: 50px;
  border: 1px solid black;
  display: inline-block;
  text-align: center;
  background-color: #66d9ef;
  font-size: 20px;
  line-height: 50px;
  margin: 5px;
}

.flex-item {
  display: flex;
  padding: 2px;
  width: 400px;
  border: 1px solid black;
}

.flex-start {
    justify-content: flex-start;
}
.flex-end {
    justify-content: flex-end;
}
.flex-center {
    justify-content: center;
}
.flex-between {
    justify-content: space-between;
}
.flex-around {
    justify-content: space-around;
}

External CSS

  1. https://fonts.googleapis.com/css?family=Lato

External JavaScript

This Pen doesn't use any external JavaScript resources.