monks/text_indent

The text-indent CSS property sets the length of empty space (indentation) that is put before lines of text in a block.

Values

pub const each_line: #(String, String)
  • : Indentation affects the first line of the block container as well as each line after a forced line break, but does not affect lines after a soft wrap break.
pub const hanging: #(String, String)
  • : Inverts which lines are indented. All lines except the first line will be indented.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of text-indent

pub fn raw(value: String) -> #(String, String)

Enter a raw string value for text-indent

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const unset: #(String, String)
pub fn var(variable: String) -> #(String, String)

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

Search Document