how to move flex box to center code example
Example 1: css flex center
display: flex;
align-items: center;
justify-content: center;
Example 2: move text to center of page flexbox
// Assuming a horizontally centered row of items for the parent but it doesn't have to be
.parent {
align-items: center;
display: flex;
justify-content: center;
}
.child {
display: flex;
align-items: center;
}