CSS Property:
justify-content:

Result:
CSS Code:
div#main {
  display: flex;
  justify-content:space-between; 
}
Click the property values above to see the result
W3Schools.com - Play it