how to verticaly align items in a HTML container
.flex-center-vertically {
display: flex;
justify-content: center;
flex-direction: column;
height: 400px;
}
4
1
.div-vertical-align{
vertical-align: middle
} /*Thats it! - Important: read the information in the source. */
Thank you!
1
0
Are there any code examples left?
New code examples in category CSS