click below
click below
Normal Size Small Size show me how
CSS RuleSets
Rule-Sets and Properties
Term | Definition |
---|---|
text-decoration-line | Sets the kind of text decoration to use such as, underline, overline, line-through. |
text-decoration-color | Sets the color of the text decoration. |
text-decoration-style | Sets the style of the text decoration such as solid, wavy, dotted, dashed, or double. |
h1 { text-decoration: overline; } | Overline text decoration |
p { font-size: 12px; } | Setting the font size of a <p> element to 12px. |
p{ font-family: Arial, Helvetica, sans-serif; } | The font-family property specifies the font for an element. |
p { color: green; } | The color property specifies the color of text. |