property
Box align — CSS reference
Deprecated historical CSS. Aligned children across the old box axis. For a simple horizontal row use align-items:center; the old and modern layout algorithms are not identical. Do not use the unprefixed historical syntax for new sites.
Formal Syntax & Structure
css syntaxcss
box-align: center;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>box-align</title><style>body{margin:0;background:white}#a{box-sizing:border-box}#a{display:flex;width:200px;height:100px;align-items:flex-start}#b,#c{width:40px;height:20px;background:lightblue}#a{align-items:center}</style><body><div id="a"><div id="b">A</div><div id="c">B</div></div></body></html>