div text middle code example
Example: css align items vertical center
.parent {
display: flex;
justify-content: center;
align-items: center;
}
.parent {
display: flex;
justify-content: center;
align-items: center;
}