To evenly distribute space around flex items, the property justify-content should be set to ________.

  • space-evenly
  • space-around
  • space-between
  • center
The correct option is space-around. This value evenly distributes the space around flex items, placing an equal amount of space on each side of each item. space-evenly would also work, but it includes space at the edges, which might not be desired in all cases. space-between would leave no space at the edges. center is not a valid option for justify-content.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *