Glubase - share your knowledge


All / Computers / Programming / CSS





  • View Command

CSS Reference

CSS direction definition

Syntax

direction: <direction>;

Description

Defines the text direction. ltr is left-to-right and rtl is right-to-left.

Values

ltr | rtl

Example

[Try this example yourself]
<div style="direction: rtl;">hello</div>

Output

hello
  • Comments

No comments added.