html display center in 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;
}