CSS direction

Previous Next

Demo of the different values of the direction property.

Click the property values below to see the result:

direction: ltr;
direction: rtl;
Change the direction of the text by clicking on the two different direction values.
Change the direction of the text by clicking on the two different direction values.

Play more with the code in our Tryit yourself editor: Try it Yourself ❯