center and inline-block css html 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;
}