direction

The direction property specifies the writing direction.

CSS2

direction: ltr | rtl | inherit
Initial: ltr
Applies To: all elements
Inherited: yes
Percentages: NA
Media: visual

Values

Δ

direction: value;
 
Value: Description:
inherit Takes the same computed value as the property for the element's parent
ltr Left-to-right direction
rtl Right-to-left direction

DOM

Δ

[window.]document.getElementById("element-id").style.direction = "direction";

Example | Values | ltr

Δ

Example | Values | rtl

Δ

Example | DOM

Δ

Reference

Δ