monks/direction
Where possible, authors are encouraged to avoid using the
directionCSS property and use the HTMLdirglobal attribute instead.
The direction CSS property sets the direction of text, table and grid columns, and horizontal overflow. Use rtl for languages written from right to left (like Hebrew or Arabic), and ltr for those written from left to right (like English and most other languages).
Note that text direction is usually defined within a document (e.g., with HTML’s dir attribute) rather than through direct use of the direction property.
Values
pub const ltr: #(String, String)
- : Text and other elements go from left to right. This is the default value.
pub const revert_layer: #(String, String)
pub const rtl: #(String, String)
- : Text and other elements go from right to left.For the
directionproperty to have any effect on inline-level elements, the {{Cssxref(“unicode-bidi”)}} property’s value must beembedoroverride.