Main-axis
Cross-axis
Main-axis
Cross-axis
align-self is an item level override for the container level property align-items.
In this example, we specify an override for the third item in the list. Items 1 and 2 are aligned according to the container's align-items property, which in this case, has the default value of stretch.
Container
Item