monks/text_decoration_thickness

The text-decoration-thickness CSS property sets the stroke thickness of the decoration line that is used on text in an element, such as a line-through, underline, or overline.

Values

pub const auto_: #(String, String)
  • : The browser chooses an appropriate width for the text decoration line.
pub const from_font: #(String, String)
  • : If the font file includes information about a preferred thickness, use that value. If the font file doesn’t include this information, behave as if auto was set, with the browser choosing an appropriate thickness.
pub const inherit: #(String, String)
pub const initial: #(String, String)
pub fn length(value: monks_of_style.Length) -> #(String, String)

length value of text-decoration-thickness

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

Enter a raw string value for text-decoration-thickness

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

Search Document