CSS Direction Property

CSS 1

CSS 2

CSS 3

No Yes Yes

Description

Specifies the direction of the flow of text and table column display.

Syntax

direction: [value];

Possible values

  • ltr - (Left to Right)
  • rtl - (Right to Left)
  • inherit

Initial Value

ltr

Applies To

All elements

Inherited

Yes

Media

Visual

Example

div {direction: rtl; unicode-bidi: embed;}


View All CSS Properties