how center the div code example
Example 1: center a div in css
.container {
display: flex;
justify-content: center;
align-items: center;
}
Example 2: div align center
.center {
text-align: center;
}
// or
<div style="text-align:center">
</div>