CSS Property:

align-items

Result:

content 1
content 2
content 3

CSS Code:

#myDiv {
                
display:flex;
height:235px;
}
Click the property values above to see the result
W3Docs.com-Play it
Do you find this helpful?