CSS a répandu les enfants horizontalement

.container {
  display: flex;
  
  justify-content: space-around;
  /* OR */
  justify-content: space-between;
  /* OR */
  justify-content: space-evenly;
}
just-saved-you-a-stackoverflow-visit