Menu Riverview Church

DIRECTION

The direction property specifies the inline base direction or directionality of any bidi paragraph, embedding, isolate, or override established by the box.

SYNTAX

CSS

direction: value;

JS

object.style.direction = "value";

VALUES

<'direction'> = ltr | rtl
ltr

Sets inline base direction (bidi directionality) to line-left-to-line-right.

rtl

Sets inline base direction (bidi directionality) to line-right-to-line-left.

INITIAL

ltr

EXAMPLES

LTR

RTL

JS

INTERNAL

text-combine-upright

text-orientation

unicode-bidi

writing-mode

EXTERNAL

World Wide Web Consortium (W3C)