center align inline-block 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;
}