Okay, I know the difference between items and content, but I'm wondering what the difference between align-content, justify-content, align-items, and justify-items. I want to know how aligning is different than justifying.
The difference between align and justify is that justify-* affects the main axis (horizontal when flex-direction is row and vertical when flex-direction is column) and align-* affects the cross axis (vertical when flex-direction is row and horizontal when flex-direction is column).
Okay, I know the difference between items and content, but I'm wondering what the difference between
align-content,justify-content,align-items, andjustify-items. I want to know how aligning is different than justifying.Anirudh talks about it in the post.
I will write my answer according to I know.
The difference between align and justify is that justify-* affects the main axis (horizontal when flex-direction is row and vertical when flex-direction is column) and align-* affects the cross axis (vertical when flex-direction is row and horizontal when flex-direction is column).
Regards.
Thanks a lot. That was really helpful.