text-line-through
Summary
The text-line-through property is a shorthand property for text-line-through-style, text-line-through-color and text-line-through-mode. (Considered obsolete; use text-decoration instead.)
Overview table
- Initial value
Not defined for shorthand properties
- Applies to
- all elements and generated content with textual content
- Inherited
- Yes
- Media
- visual
- Computed value
- See individual properties
- Animatable
- No
- CSS Object Model Property
N/A
- Percentages
- N/A
Syntax
text-line-through: <style> <color> <mode>
Values
- <style> <color> <mode>
- Values supported by the text-line-through-style, text-line-through-color, and text-line-through-mode properties.
Usage
This property is obsolete and has been replaced by the text-decoration 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 (CR 2003)
- Working Draft (current)