The text-decoration
property in CSS is used to add decorative lines to text, such as underlines, overlines, or line-throughs. Here are the key text-decoration
attributes:
text-decoration-line
Specifies the type of text decoration line to use:
text-decoration-color
Sets the color of the text decoration:
text-decoration-style
Specifies the style of the text decoration line:
text-decoration-thickness
Controls the thickness of the text decoration line:
text-decoration
A shorthand property that combines the line, color, and style attributes:
Here is an example that uses multiple text decoration properties:
By using these properties, you can create various decorative effects on your text. Let me know if you need more details or specific examples!