Display the the child elements of the div box in the reverse direction:
![]()
The box-direction property is not supported in any of the major browsers.
Internet Explorer 10 supports an alternative, the -ms-flex-direction property.
Firefox supports an alternative, the -moz-box-direction property.
Safari, Opera, and Chrome support an alternative, the -webkit-box-direction property.
Note: Flexible boxes are not supported in Internet Explorer 9 and earlier versions.
The box-direction property specifies the direction in which child elements of a box element are laid out.
| Default value: | normal |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.boxDirection="reverse" |
| Value | Description | Play it |
|---|---|---|
| normal | Display the child elements in the default direction | Play it » |
| reverse | Display the child elements in the reverse direction | Play it » |
| inherit | The value of the box-direction property should be inherited from the parent element |
Your message has been sent to W3Schools.