linear-direction
Introduction
The linear-direction CSS property sets how linear items are placed in the linear container defining the main axis and the direction.
Note that the values row, row-reverse are affected by the directionality of the linear container. If its dir attribute is ltr, row represents the horizontal axis oriented from the left to the right, and row-reverse from the right to the left; if the dir attribute is rtl, row represents the axis oriented from the right to the left, and row-reverse from the left to the right.
Examples

Syntax
Values
-
columnDefault value. The linear container's main-axis is defined to be the same as vertical direction.
-
rowThe linear container's main-axis is defined to be the same as the text direction. The main-start and main-end points are the same as the content direction.
-
column-reverseBehaves the same as
columnbut the main-start and main-end are opposite to the content direction. -
row-reverseBehaves the same as
rowbut the main-start and main-end points are opposite to the content direction. -
verticalDeprecatedEquivalent to
column. -
horizontalDeprecatedEquivalent to
row. -
horizontal-reverseDeprecatedEquivalent to
row-reverse. -
vertical-reverseDeprecatedEquivalent to
column-reverse.
Formal definition
| Initial value | column |
| Applies to | linear containers |
| Inherited | no |
| Animatable | no |
Formal syntax
Difference between web
- No such style in Web.
Compatibility
LCD tables only load in the browser