monks/text_decoration

The text-decoration shorthand CSS property sets the appearance of decorative lines on text. It is a shorthand for {{cssxref(“text-decoration-line”)}}, {{cssxref(“text-decoration-color”)}}, {{cssxref(“text-decoration-style”)}}, and the newer {{cssxref(“text-decoration-thickness”)}} property.

Values

pub const auto_: #(String, String)

auto value of text-decoration

pub const blink: #(String, String)

blink value of text-decoration

pub const dashed: #(String, String)

dashed value of text-decoration

pub const dotted: #(String, String)

dotted value of text-decoration

pub const double: #(String, String)

double value of text-decoration

pub const from_font: #(String, String)

from-font value of text-decoration

pub const grammar_error: #(String, String)

grammar-error value of text-decoration

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

pub const line_through: #(String, String)

line-through value of text-decoration

pub const none: #(String, String)

none value of text-decoration

pub const overline: #(String, String)

overline value of text-decoration

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

Enter a raw string value for text-decoration

pub const revert: #(String, String)
pub const revert_layer: #(String, String)
pub const solid: #(String, String)

solid value of text-decoration

pub const spelling_error: #(String, String)

spelling-error value of text-decoration

pub const underline: #(String, String)

underline value of text-decoration

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

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

pub const wavy: #(String, String)

wavy value of text-decoration

Search Document