CSS Tutorial 15 - Text Decoration Properties

Опубликовано: 02 Апрель 2026
на канале: Struct Feed
270
3

In this CSS tutorial I go over the text decoration property. The text decoration property is used to add underline, over-line or line-through text.

To add decoration, use "text-decoration" property and you can set it to the following values:- "underline", "overline", "line-through" or "none".

You can also add color to the decoration by using the "text-decoration-color" property. For value set any color value.

You can also set style of decoration by using "text-decoration-style" property. This will add different styles of lines you selected with "text-decoration". For "text-decoration-style" you can set it to "solid", "dashed", "dotted", or "wavy".