CSS Box-Direction Property

CSS 1

CSS 2

CSS 3

No No Yes

Description

Specifies whether a box lays out its contents normally (from the top or left edge), or in reverse (from the bottom or right edge).

Syntax

box-direction: [value];

Possible values

  • normal
  • reverse

Initial Value

normal

Applies To

Box elements

Inherited

Yes

Media

Visual

Example

.class {
  box-direction: reverse;
}


View All CSS Properties