CSS Property: flex-direction
[this page | pdf | back links]
The CSS (CSS3) flex-direction property indicates the direction
of a flexible element. If an element is not a flexible element then this
property has no effect.
Valid property values
(other than inherit
and initial) are:
|
Value
|
Description
|
|
column
|
Items are displayed
vertically, as a column
|
|
column-reverse
|
Items are displayed
vertically, but in reverse order
|
|
row
|
(default value). Items
are displayed horizontally, as a row
|
|
row-reverse
|
Items are displayed
horizontally, but in reverse order
|
|
Default Value:
|
row
|
|
JavaScript syntax:
|
e.g. object.style.flexDirection="column"
|
|
Inherited:
|
No
|
|
Animatable:
|
No
|
NAVIGATION LINKS
Contents | Prev | Next | CSS Properties