CSS-Lesson 9
Property | Possible values *=default |
Notes |
---|---|---|
font-style | inherit normal* italic oblique |
This property is useful with small special chunks of text, using the 'italic' value. |
font-variant | inherit normal* small-caps |
'small-caps' are sometimes used for emphasis. |
font-weight | inherit normal* bolder bold lighter 100 200 300 400 500 600 700 800 900 |
The numerical values of 'font-weight' may not be available in all browsers. |
font-size | inherit xx-large x-large larger large medium* (percentage) (length) |
You should be careful about the use of units in 'font-size'. The user may want to increase the size which can be done with relative sizes, but not with absolute values. |
line-height | inherit normal* (length) (number) (percentage) |
An increase in 'line-height' can help sometimes by introducing more 'white-space' into a solid block of text. |
font-family | inherit (font-name) (multiple font names separated by commas) |
A browser can only use the fonts that reside on a user's computer. If it isn't there the browser reverts to the user's choice. By giving more than one font and ending with the font-family generic name, your page should appear as you intended. Font names of more than one word should be enclosed in double quotes. |
letter-spacing | inherit normal* (length) |
It does what it says on the can! |
word-spacing | inherit normal* (length) |
It does what it says on the can! |