box-direction
Summary
Deprecated
Overview table
- Initial value
normal
- Applies to
- box elements
- Inherited
- No
- Media
- visual
- Animatable
- No
Syntax
box-direction: inherit
box-direction: normal
box-direction: reverse
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.
Usage
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
Standards information
- Flexible Box Layout Module, Section 3
Related specifications
- Flexible Box Layout Module
- W3C Working Draft (Obsolete)
See also
Related pages
- CSSStyleDeclarationCSSStyleDeclaration
- currentStylecurrentStyle
- stylestyle
Attributions
Microsoft Developer Network: [Windows Internet Explorer API reference Article]