monks/letter_spacing

The letter-spacing CSS property sets the horizontal spacing behavior between text characters. This value is added to the natural spacing between characters while rendering the text. Positive values of letter-spacing causes characters to spread farther apart, while negative values of letter-spacing bring characters closer together.

Values

pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of letter-spacing

pub const normal: #(String, String)
  • : The normal letter spacing for the current font. Unlike a value of 0, this keyword allows the {{glossary(“user agent”)}} to alter the space between characters in order to justify text.
pub fn raw(value: String) -> #(String, String)

Enter a raw string value for letter-spacing

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 letter-spacing. It will be wrapped in var() and have -- prepended.

Search Document