Question: what is the difference between justify-content and align-items?
Answer: 1 Answer. Justify-content: The justify-content property aligns the flexed container's contents on the main axis, which by default(in case of the web) is the horizontal axis. align-content: The align-content property aligns a flex container's lines within the flex container when there is extra space on the cross axis.