flex item at the top code example
Example 1: flex align top css
align-items: flex-start | flex-end | center | baseline | stretch
.container {
display: flex;
align-items: flex-start;
}
Example 2: flex box align items
.container {
justify-items: center;
}