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
ltrscripts, content flows horizontally from left to right. Forrtlscripts, content flows horizontally from right to left. The next horizontal line is positioned below the previous line.
pub const lr: #(String, String)
- : Deprecated except for SVG1 documents. For CSS, use
horizontal-tbinstead.
pub const lr_tb: #(String, String)
- : Deprecated except for SVG1 documents. For CSS, use
horizontal-tbinstead.
pub const revert_layer: #(String, String)
pub const rl: #(String, String)
- : Deprecated except for SVG1 documents. For CSS, use
horizontal-tbinstead.
pub const sideways_lr: #(String, String)
- : For
ltrscripts, content flows vertically from bottom to top. Forrtlscripts, 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
ltrscripts, content flows vertically from top to bottom. Forrtlscripts, 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-lrinstead.
pub const tb_rl: #(String, String)
- : Deprecated except for SVG1 documents. For CSS, use
vertical-rlinstead.
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
ltrscripts, content flows vertically from top to bottom, and the next vertical line is positioned to the right of the previous line. Forrtlscripts, 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
ltrscripts, content flows vertically from top to bottom, and the next vertical line is positioned to the left of the previous line. Forrtlscripts, content flows vertically from bottom to top, and the next vertical line is positioned to the right of the previous line.