CSS exposes a rich set of properties for controlling the font on the page.
This page is just a teaser until we finish the help sections. You will be able to disinguish the help links by the help cursor. This page and this entire section are not yet complete.
Values: [[<family-name> | <generic-family>],]* [<family-name> | <generic-family>]
Default: Browser Specific
A prioritized comma-delimited list of font family names and/ or generic names to use. The following generic font-families are defined:
| family | example on your system |
|---|---|
| serif | ABCabc |
| sans-serif | ABCabc |
| cursive | ABCabc |
| fantasy | ABCabc |
| monospace | ABCabc |
Values: normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
Default: normal
Font-weight describes how bold you want your text.
Values: <absolute-size> | <relative-size> | <length> | <percentage>
Default: medium
The font-size defines the size of the text.
| <absolute-size> | xx-small | x-small | small | medium | large | x-large | xx-large |
| <relative-size> | larger | smaller |
Values: normal | italic | oblique
Default: normal
The font-style
Values: none | [underline || overline || line-through]
Default: none
Specifies additional decorations to add to the text.
Values: normal | small-caps
Default: normal
This is used to specify small-caps.
Values: none | uppercase | lowercase
Default: none
Automatically displays the text either uppercase, lowercase, or as it is presented in the content.