-2
flex display in container with align-items: center
.container {
display: flex;
align-items: center;
}
or, if you need more cross-browser, inline-block display in Childrens with vertical-align: Middle
.children {
display: inline-block;
vertical-align: middle;
}