In a flex container, how does the justify-content property affect the items?

  • aligns items along the cross axis
  • aligns items along the main axis
  • controls the alignment of items along the main axis
  • determines the distribution of space between and around items
The justify-content property in a flex container controls the distribution of space between and around items along the main axis. It helps in aligning items horizontally.
Add your answer
Loading...

Leave a comment

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