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.

Example

Initial value none
Applies to all elements. It also applies to ::first-letter and ::first-line.

Syntax

  
text-decoration-line: line-through;
  

Values

Produces no text decoration.
Each line of text has a decorative line beneath it.
Each line of text has a decorative line above it.
Each line of text has a decorative line going through its middle.
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.

Browser support

text-decoration-line5779364412.1
blink577926448

We use cookies to improve your experience. Learn more in our Privacy policy.

×