CSS: Cascading Style Sheets
Fonts
- property: font-family
- values can be family-names (e.g. arial) or generic names
(e.g. serif)
- list the most preferred values first and a catch-all last
in case the browser does not support any of the preferred typefaces
- property: font-style
- property: font-variant
- property: font-weight
- normal
- bold
- bolder
- lighter
- 100, 200, 300, 400, 500, 600, 700, 800 or 900
- property: font-size
- xx-small
- x-small
- small
- medium
- x-large
- xx-large
- smaller
- larger
- absolute: 30px or 14pt
- relative: 120% or 1em
Text
- property: text-indent
- absolute: 30px
- relative: 10%
- property: text-align
- left
- right
- center
- justify
- property: text-decoration
- none
- underline
- overline
- line-through
- blink
- property: letter-spacing
- property: text-transform
- none
- capitalize
- uppercase
- lowercase
Links
To change a link, use the selector a or one of the following
pseudo-classes:
- a:link
- a:visited
- a:active
- a:hover
Some of the relevant properties you might want to change include
color, background-color, font-style, text-decoration, etc.
Useful References