I have a flexbox container with three flex item children. I would like the first div to be positioned at the left(flex-start), the second would need to be centered horizontally and the third one should be at the very right(flex-end).
I tried with pretty much every combo possible, but no luck.
.container {
  max-width: 80%;
  background-color: #222;
  height: 80px;
  margin: 50px auto;
  display: flex;
  flex-direction: row;
  align-items: center;
}
div:nth-of-type(1) {
  background-color: #666;
  flex-basis: 50px;
  height: 60px;
}
div:nth-of-type(2) {
  background-color: #fff;
  flex-basis: 150px;
  height: 60px;
}
div:nth-of-type(3) {
  background-color: #eee;
  flex-basis: 80px;
  height: 60px;
}<section class="container">
  <div class></div>
  <div class></div>
  <div class></div>
</section> 
    