flex align object in middle of screen code example
Example 1: css flex center horizontally and vertically
display: flex;
align-items: center;
justify-content: center;
Example 2: flex align top css
align-items: flex-start | flex-end | center | baseline | stretch
.container {
display: flex;
align-items: flex-start;
}