CSS · Properties — CSS Writing Modes

direction

The CSS direction property. Initial value: ltr. Inherited.

Syntax
direction: ltr | rtl

Example

Try it

Notes

Media: visual. Applies to: allElements. Computed value: asSpecified.

More in this group

text-combine-upright text-orientation unicode-bidi writing-mode

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course