What I have learned from every answer and visiting the blog is
what is the cross axis and main axis
flex-direction: row
flex-direction: column
Now align-content and align-items
align-content is for the row, it works if the container has (more than one row) Properties of align-content
.container {
align-content: flex-start | flex-end | center | space-between | space-around | space-evenly | stretch | start | end | baseline | first baseline | last baseline + ... safe | unsafe;
}
align-items is for the items in row Properties of align-items
.container {
align-items: stretch | flex-start | flex-end | center | baseline | first baseline | last baseline | start | end | self-start | self-end + ... safe | unsafe;
}
For more reference visit to flex