Justify content

.container{
  display: flex;
  justify-content: space-between;
}

Flex item
Flex item
Flex item

.container{
  display: flex;
  justify-content: center;
}

Flex item
Flex item
Flex item