CSS - horizontal align with flexbox

0 votes
28 views
added Mar 5 in CSS by lcjr First Warrant Officer (11,830 points)
/*add this directly to the element*/

.make_it_horizontal_aligned {
    display: flex; 
    align-items: center;
}

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...