CSS Flex Center горизонтально и вертикально
display: flex;
align-items: center;
justify-content: center;
TheDutchScorpion
display: flex;
align-items: center;
justify-content: center;
.parent{
display: flex;
justify-content: center; /* Center Horizontally */
align-items: center; /* Center Vertically */
}