The text-decoration property specifies the decoration added to text, and is a shorthand property for:
- text-decoration-line (required)
- text-decoration-color
- text-decoration-style
CSS Syntax
text-decoration: text-decoration-line | text-decoration-color|text-decoration-style|initial|inherit;
text-decoration: none; /*Removes lines from links (Võtab linkidelt jooned ära)*/
| Value |
Description |
| text-decoration-line |
Sets the kind of text decoration to use (like underline, overline,
line-through) |
|
text-decoration-color |
Sets the color of the text decoration |
| text-decoration-style |
Sets the style of the text decoration (like solid, wavy, dotted, dashed,
double) |
| initial |
Sets this property to its default value. Read about initial |
| inherit |
Inherits this property from its parent element. Read about inherit |
List Style
Thelist-style property is a shorthand for the following properties:
- list-style-type
- list-style-position
- list-style-image
If one of the values are missing, the default value for that property will be used.
list-style: none; /* Takes points from the list (Võtab listil punktid eest ära)*/
| Value |
Description |
| list-style-type |
Specifies the type of list-item marker. Default value is "disc" |
| list-style-position |
Specifies where to place the list-item marker. Default value is
"outside" |
| list-style-image |
Specifies the type of list-item marker. Default value is "none" |
| initial |
Sets this property to its default value. Read about initial |
| inherit |
Inherits this property from its parent element. Read about inherit |
Css Syntax
list-style: list-style-type list-style-position list-style-image|initial|inherit;
- See List STYLE Examples...
- See List STYLE Examples...