Introduction to Cascading Style Sheets
Extra Credit
Notes from CSS class...
Week One
Each rule consist of a selector and at least one declaration.
- selector {property: value};
- selector {property: value; property: value value;}
The background-repeat property offers four possibilities:
- repeat, repeat-x, repeat-y, no-repeat
- requires two values, which can be defined an any of the following:
- length measurement, percentage values, keywords
Font-size values:
- xx-small
- x-small
- small
- meidum
- large
- x-large
- xx-large
- Or you can use precise measurement:
em, ex, px, pt, pc, mm, cm, in
Fonts and Text Properties:
- font-style
- normal
- italic
- oblique
- font-variant
- normal
- small-caps
- font-weight
- normal
- bold
- bolder
- lighter
- text-decoration
- none
- underline
- line-through
- overline
- blink
- text-transform
- none
- capitalize
- LOWERCASE
- uppercase
- text-align
- justify
- center
- right
- left
- text-indent
- percentage
- numerical length
|