text-decoration-style

The text-decoration-style CSS property sets the style of the lines specified by text-decoration-line. The style applies to all lines that are set with text-decoration-line.

Example

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

Syntax

  
text-decoration-style: dashed;
  

Values

Draws a single line.
Draws a double line.
Draws a dotted line.
Draws a dashed line.
Draws a wavy line.
Draws no line. Use text-decoration-line: none instead.

Browser support

text-decoration-style5779364412.1
wavy57796448

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

×