display inline block center div code example
Example: inline block align center
.parent {
display: flex;
justify-content: center;
align-items: center;
}
.child {
display: inline-block;
}
.parent {
display: flex;
justify-content: center;
align-items: center;
}
.child {
display: inline-block;
}