The main difference between align-content and align-items lies in their scope and use case:
align-content: align-content is used when the content spans across multiple rows (e.g., when flexWrap: 'wrap' is enabled). It controls the alignment of the entire content (all rows) relative to the parent container. For instance, if you want your wrapped rows to be centered or evenly spaced, you would use align-content.
align-items: align-items, on the other hand, is used for aligning elements within a single row. If you don’t have wrapped rows (flexWrap: 'nowrap'), this property defines how the items in that single row are aligned relative to the cross axis of the container.
To summarize:
I hope this clears up the distinction! 😊 Let me know if you have further questions.