flexbox centralize vertically and horizontally each element in its line code example
Example: css flex center horizontally and vertically
display: flex;
align-items: center;
justify-content: center;
display: flex;
align-items: center;
justify-content: center;