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