-ms-box-direction property
Do not use. This property has been replaced by the -ms-flex-direction property, and is no longer recognized by Windows Internet Explorer. To ensure compatibility in the future, applications using this property should be updated accordingly. Gets or sets a value that specifies the display order (along the axis defined by the -ms-box-orient property) of all child elements of the object.
This property is read/write.
Syntax
-ms-box-direction: normal | reverse | inherit
Property values
One of the following display order values.
normal
Default. Child elements are displayed in the same order that they are declared in the source document.If the parent element has a computed value for -ms-box-orient of
horizontal
, the child elements are displayed from left to right.If the parent element has a computed value for -ms-box-orient of
vertical
, the child elements are displayed from top to bottom.reverse
Child elements are displayed in the reverse order that they are declared in the source document.If the parent element has a computed value for -ms-box-orient of
horizontal
, the child elements are displayed from right to left.If the parent element has a computed value for -ms-box-orient of
vertical
, the child elements are displayed from bottom to top.inherit
Child elements are displayed in the same order as the computed value of this property for the parent element.
CSS information
Applies To | box elements |
Media | visual |
Inherited | no |
Initial Value | normal |
Standards information
- Flexible Box Layout Module, Section 3
See also
Send comments about this topic to Microsoft
Build date: 9/6/2012