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.
Loading...
Related Quiz
- What is the role of the animation-iteration-count property in CSS?
- What's the primary difference between the clip-path and mask properties in CSS?
- How can the improper use of custom fonts negatively impact accessibility on a website?
- A child element does not inherit the __________ property from its parent by default in CSS.
- In CSS Grid, what is the function of the grid-template-areas property?