In Flexbox, which property is used to define how items are aligned along the main axis?

  • align-content
  • align-items
  • flex-direction
  • justify-content
In Flexbox, the justify-content property is used to define how items are aligned along the main axis. It controls the distribution of space between and around items along the main axis and is commonly used to center items horizontally or vertically.
Add your answer
Loading...

Leave a comment

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