property

Box orient — CSS reference

Deprecated historical CSS. Selected the historical box orientation. Modern flex-direction:column creates a vertical main axis in horizontal writing mode. The old prefixed form may still be encountered in multiline clamping. Do not use the unprefixed historical syntax for new sites.

Formal Syntax & Structure

css syntaxcss
box-orient: vertical;

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>box-orient</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{flex-direction:column}</style><body><div id="a"><div id="b">A</div><div id="c">B</div></div></body></html>
CSS Reference