align element inside of a box vertically center code example
Example: center elements vertically in div
.container {
display: flex;
align-items: center;
}
.container {
display: flex;
align-items: center;
}