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
    1. normal
    2. italic
    3. oblique
  • font-variant
    1. normal
    2. small-caps
  • font-weight
    1. normal
    2. bold
    3. bolder
    4. lighter
  • text-decoration
    1. none
    2. underline
    3. line-through
    4. overline
    5. blink
  • text-transform
    1. none
    2. capitalize
    3. LOWERCASE
    4. uppercase
  • text-align
    1. justify
    2. center
    3. right
    4. left
  • text-indent
    1. percentage
    2. numerical length
Hosted by www.Geocities.ws

1