CSS direction property

Description

CSS direction property specifies the direction of bi-directional content either from left to right or right to left.

Syntax

direction : ltr | rtl

Property values

ltrDefault

It specifies the direction of content from left to right.

direction: ltr;

rtl

It specifies the direction of content from right to left.

direction: rtl;

Applicable to

It applies to all elements

#CSS digger
Was this article helpful?

 
CSS direction property specifies the direction of bi-directional content either from left to right or right to left.
×

Ctrl+D