property
webkit box orient — CSS reference
Legacy box layout direction for display:-webkit-box. Vertical stacks children along the physical vertical axis in this horizontal writing-mode example. Use modern flexbox for new general-purpose layout; the legacy property remains part of the prefixed line-clamp pattern.
Formal Syntax & Structure
css syntaxcss
-webkit-box-orient: vertical;Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>-webkit-box-orient</title><style>body{margin:8px;background:white;color:black;font:16px/20px sans-serif}*{box-sizing:content-box}#a{display:-webkit-box;-webkit-box-orient:vertical;width:100px}span{display:block;height:20px}</style><body><div id="a"><span id="b">One</span><span id="c">Two</span></div></body></html>