CSS direction Property
Definition
The direction property sets the text direction.Inherited: Yes
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.direction="rtl"
Examples
div { direction: rtl } |
Possible Values
Value | Description |
---|---|
ltr | Default. Text direction is left-to-right |
rtl | Text direction is right-to-left |
Goto CSS3 and CSS2 complete reference
CSS direction Property
Reviewed by 1000sourcecodes
on
10:09
Rating: