monks/writing_mode

The writing-mode CSS property sets whether lines of text are laid out horizontally or vertically, as well as the direction in which blocks progress. When set for an entire document, it should be set on the root element (html element for HTML documents).

Values

pub const horizontal_tb: #(String, String)
  • : For ltr scripts, content flows horizontally from left to right. For rtl scripts, content flows horizontally from right to left. The next horizontal line is positioned below the previous line.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub const lr: #(String, String)
  • : Deprecated except for SVG1 documents. For CSS, use horizontal-tb instead.
pub const lr_tb: #(String, String)
  • : Deprecated except for SVG1 documents. For CSS, use horizontal-tb instead.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for writing-mode

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const rl: #(String, String)
  • : Deprecated except for SVG1 documents. For CSS, use horizontal-tb instead.
pub const rl_tb: #(String, String)

rl-tb value of writing-mode

pub const sideways_lr: #(String, String)
  • : For ltr scripts, content flows vertically from bottom to top. For rtl scripts, content flows vertically from top to bottom. All the glyphs, even those in vertical scripts, are set sideways toward the left.
pub const sideways_rl: #(String, String)
  • : For ltr scripts, content flows vertically from top to bottom. For rtl scripts, content flows vertically from bottom to top. All the glyphs, even those in vertical scripts, are set sideways toward the right.
pub const tb: #(String, String)
  • : Deprecated except for SVG1 documents. For CSS, use vertical-lr instead.
pub const tb_rl: #(String, String)
  • : Deprecated except for SVG1 documents. For CSS, use vertical-rl instead.
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

Enter a variable name to be used for writing-mode. It will be wrapped in var() and have -- prepended.

pub const vertical_lr: #(String, String)
  • : For ltr scripts, content flows vertically from top to bottom, and the next vertical line is positioned to the right of the previous line. For rtl scripts, content flows vertically from bottom to top, and the next vertical line is positioned to the left of the previous line.
pub const vertical_rl: #(String, String)
  • : For ltr scripts, content flows vertically from top to bottom, and the next vertical line is positioned to the left of the previous line. For rtl scripts, content flows vertically from bottom to top, and the next vertical line is positioned to the right of the previous line.
Search Document