without uising padding margins how to set text middle in css code example
Example: css center
/* this will center all children within the parent element. */
.parent {
display: flex;
justify-content: center; /* horizontal */
align-items: center; /* vertical */
}