This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

text-line-through-style

Summary

Specifies the line style for line-through text decoration.

(Considered obsolete; use text-decoration-style instead.)

Overview table

Initial value
none
Applies to
all elements with and generated content with textual content
Inherited
No
Media
visual
Computed value
specified value (except for initial and inherit)
Animatable
No
CSS Object Model Property
N/A
Percentages
N/A

Syntax

  • text-line-through-style: dashed
  • text-line-through-style: dot-dash
  • text-line-through-style: dot-dot-dash
  • text-line-through-style: dotted
  • text-line-through-style: double
  • text-line-through-style: none
  • text-line-through-style: solid
  • text-line-through-style: wave

Values

none
Produces no line
solid
Produces a solid line
double
Produces a double line.
dotted
Produces a dotted line
dashed
Produces a dashed line
dot-dash
Produces a line that repeats a pattern where a dot is followed by a dash.
dot-dot-dash
Produces a line that repeats a pattern where two dots are followed by a dash.
wave
Produces a wavy line.

Notes

This property is obsolete and has been replaced by the text-decoration-style property.

Originally defined in an earlier draft of the CSS3 Text Module specification, the functionality controlled by this property is now defined in the CSS Text Decoration Level 3 module. Sites (and apps) relying on the earlier behavior should be updated accordingly.

Related specifications

CSS3 Text Module
Candidate Recommendation
CSS Text Module Level 3
Editor’s Draft