Export (0) Print
Expand All

-ms-box-direction property

Do not use. This property has been replaced by the -ms-flex-direction property, and is no longer recognized by a Windows Store app using JavaScript. 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.

Flexible Box Layout Module, Section 3

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 Tobox elements
Mediavisual
Inheritedno
Initial Valuenormal

Standards information

See also

CSSStyleDeclaration
currentStyle
style

 

 

Build date: 9/4/2012

Community Additions

Show:
© 2014 Microsoft