how to center text middle of div code example
Example: how to set text to middle in div
.center {
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}
.center {
margin: auto;
width: 50%;
border: 3px solid green;
padding: 10px;
}