css flex align center middle code example
Example 1: css flex center horizontally and vertically
display: flex;
align-items: center;
justify-content: center;
Example 2: vertical aling center flexbox
align-items: center; /* Vertical */
display: flex;
align-items: center;
justify-content: center;
align-items: center; /* Vertical */