monks/text_decoration_line
The text-decoration-line CSS property sets the kind of decoration that is used on text in an element, such as an underline or overline.
Values
pub const blink: #(String, String)
- : The text blinks (alternates between visible and invisible). Conforming user agents may not blink the text. This value is deprecated in favor of CSS animations.
pub const grammar_error: #(String, String)
- : Each line of text uses the user agents’ method of highlighting grammar mistakes, which is a dotted green line in most browsers.> [!NOTE]> When using
spelling-errorandgrammar-errorvalues, the browser disregards the other properties in the {{cssxref(“text-decoration”)}} shorthand (such as {{cssxref(“text-underline-position”)}},color, orstroke).
pub const line_through: #(String, String)
- : Each line of text has a decorative line going through its middle.
pub const overline: #(String, String)
- : Each line of text has a decorative line above it.
pub fn raw(value: String) -> #(String, String)
Enter a raw string value for text-decoration-line
pub const revert_layer: #(String, String)
pub const spelling_error: #(String, String)
- : Each line of text uses the user agents’ method of highlighting spelling mistakes, which is a dotted red line in most browsers.
pub const underline: #(String, String)
- : Each line of text has a decorative line beneath it.