Display the children of a div box from right to left:
![]()
The box-direction property is not supported in any of the major browsers.
Firefox supports an alternative, the -moz-box-direction property.
Safari and Chrome support an alternative, the -webkit-box-direction property.
The box-direction property specifies in which direction the children of a box are displayed.
| Default value: | normal |
|---|---|
| Inherited: | no |
| Version: | CSS3 |
| JavaScript syntax: | object.style.boxDirection="reverse" |
| Value | Description | Play it |
|---|---|---|
| normal | Display children in horizontally boxes from left to right, and children in vertically boxes from top to bottom | Play it » |
| reverse | Display children in horizontally boxes from right to left, and children in vertically boxes from bottom to top | Play it » |
| inherit | The value of the box-direction property should be inherited from the parent element |
Complete CSS Reference
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $3.98 Unlimited Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| XML Editor - Free Trial! |
| FREE Website BUILDER |
| Best Website Templates Top CSS Templates |
| CREATE HTML Websites |
| EASY WEBSITE BUILDER |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|