Easy Tutorial
❮ Css3 Pr Box Ordinal Group Pr Grid Template Areas ❯

CSS3 box-direction Property

Example

Display the child elements of a div box from right to left:


Browser Support

Currently, mainstream browsers do not support the box-direction property.

Internet Explorer 10 supports it via the proprietary -ms-flex-direction property.

Firefox supports it via the proprietary -moz-box-direction property.

Safari and Chrome support it via the proprietary -webkit-box-direction property.

Note: Internet Explorer 9 and earlier versions do not support flexbox.


Property Definition and Usage

The box-direction property specifies the direction in which the child elements of a box are displayed.

Default value: normal
Inherited: no
--- ---
Version: CSS3
--- ---
JavaScript syntax: object.style.boxDirection="reverse"
--- ---

Syntax

Value Description
normal Displays child elements in the default direction.
reverse Displays child elements in the reverse direction.
inherit Should inherit the box-direction property value from the parent element.
❮ Css3 Pr Box Ordinal Group Pr Grid Template Areas ❯