vertical and horizontal center display flex 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 */