CSS direction property

CSS direction

CSS direction property is used to specify the position of how the text be entered within the block-level element.

CSS direction property values are

  • ltr : It specifies that the text should be entered from left to right direction.
  • rtl : It specifies that the text should be entered from right to left direction.

Example

Try Yourself