CSS reference table
font color and background text box classification positioning symbols key
font
property | values | applies to | inherited | % values
font-family [[<family-name> | <generic-family>],]* [<family-name> | <generic-family>]

default: UA-specific

all elements yes n/a
font-style normal | italic | obliqueall elementsyesn/a
font-variant normal | small-capsall elementsyesn/a
font-weightnormal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900all elementsyesn/a
font-size <absolute-size> | <relative-size> | <length> | <percentage>

default: medium

all elementsyesrelative to parent element's font size
font
(shorthand property)
[<font-style> || <font-variant> || <font-weight>]? <font-size> [/<line-height>]? <font-family>

default: not defined

all elementsyesallowed on <font-size> and <line-height>
colorBkgd
property | values | applies to | inherited | %
values
color<color>

default: UA-specific

all elementsyesn/a
background-colortransparent | <color>all elementsnon/a
background-imagenone | <url>all elementsnon/a
background-repeatrepeat | repeat-x | repeat-y | no-repeatall elementsnon/a
background-attachmentscroll | fixedall elementsnon/a
background-position[<percentage> | <length>]{1,2} | [top | center | bottom] || [left | center | right]

default: 0% 0%

block-level and replaced elementsnorefer to the size of the element itself
background
(shorthand property)
<background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position>

default: not defined

all elementsnoallowed on <background-
position>
text
property | values
| applies to | inherited | % values
word-spacingnormal | <length>all elementsyesn/a
letter-spacingnormal | <length>all elementsyesn/a
text-decorationnone | [underline || overline || line-through || blink]

default: none

all elementsnon/a
vertical-alignbaseline | sub | super | top | text-top | middle | bottom | text-bottom | <percentage>inline elementsnorefer to the 'line-height' of the element itself
text-transformnone | capitalize | uppercase | lowercaseall elementsyesn/a
text-alignleft | right | center | justify

default: UA-specific

block-level elementsyesn/a
text-indent<length> | <percentage>

default: 0

block-level elementsyesrefer to parent element's width
line-heightnormal | <number> | <length> | <percentage>all elementsyesrelative to the font size of the element itself
box
property | values | applies to | inherited | %
values
margin-top <length> | <percentage> | auto

default: 0

all elements no refer to parent element's width
margin-right<length> | <percentage> | auto

default: 0

all elementsnorefer to parent element's width
margin-bottom<length> | <percentage> | auto

default: 0

all elementsnorefer to parent element's width
margin-left<length> | <percentage> | auto

default: 0

all elementsnorefer to parent element's width
margin
(shorthand property)
[<length> | <percentage> | auto]{1,4}

default: not defined

all elementsnorefer to parent element's width
padding-top<length> | <percentage>

default: 0

all elementsnorefer to parent element's width
padding-right<length> | <percentage>

default: 0

all elementsnorefer to parent element's width
padding-bottom<length> | <percentage>

default: 0

all elementsnorefer to parent element's width
padding-left<length> | <percentage>

default: 0

all elementsnorefer to parent element's width
padding[<length> | <percentage>]{1,4}

default: 0

all elementsnorefer to parent element's width
border-top-widthmedium | thin | thick | <length>all elementsnon/a
border-right-widthmedium | thin | thick | <length>all elementsnon/a
border-bottom-widthmedium | thin | thick | <length>all elementsnon/a
border-left-widthmedium | thin | thick | <length>all elementsnon/a
border-width
(shorthand property)
[thin | medium | thick | <length>]{1,4}

default: not defined

all elementsnon/a
border-color<color>{1,4}

default: the value of the 'color' property

all elementsnon/a
border-stylenone | dotted | dashed | solid | double | groove | ridge | inset | outsetall elementsnon/a
border-top
(shorthand property)
<border-top-width> || <border-style> || <color>

default: not defined

all elementsnon/a
border-right
(shorthand property)
<border-right-width> || <border-style> || <color>

default: not defined

all elementsnon/a
border-bottom
(shorthand property)
<border-bottom-width> || <border-style> || <color>

default: not defined

all elementsnon/a
border-left
(shorthand property)
<border-left-width> || <border-style> || <color>

default: not defined

all elementsnon/a
border
(shorthand property)
<border-width> || <border-style> || <color>

default: not defined

all elementsnon/a
widthauto | <length> | <percentage>block-level and replaced elementsnorefer to parent element's width
heightauto | <length>block-level and replaced elementsnon/a
floatnone | left | rightall elementsnon/a
clearnone | left | right | bothall elementsnon/a
class
property | values | applies to | inherited | %
values
displayblock | inline | list-item | noneall elementsnon/a
white-spacenormal | pre | nowrapblock-level elementsyesn/a
list-style-typedisc | circle | square | decimal | lower-roman | upper-roman | lower-alpha | upper-alpha | noneelements with 'display' value 'list-item'yesn/a
list-style-imagenone | <url>elements with 'display' value 'list-item'yesn/a
list-style-positionoutside | insideelements with 'display' value 'list-item'yesn/a
list-style
(shorthand property)
<keyword> || <position> || <url>

default: not defined

elements with 'display' value 'list-item'yesn/a
positioning
property | values | applies to | inherited | %
values
position static | absolute | relative all elements no n/a
left auto | <length> | <percentage> elements with the 'position' property of type 'absolute' or 'relative'norefer to parent element's width and height. If parent's height is set to 'auto', percentage is undefined.
topauto | <length> | <percentage> elements with the 'position' property of type 'absolute' or 'relative'norefer to parent element's width and height. If parent's height is set to 'auto', percentage is undefined.
widthauto | <length> | <percentage> block-level and replaced elements, elements with 'position' property value of 'absolute'norefer to parent element's width and height. If parent's height is 'auto', percentage of height is undefined
heightauto | <length> | <percentage>block-level and replaced elements, elements with 'position' property value of 'absolute' norefer to parent element's width and height. If parent's height is 'auto', percentage of height is undefined
clipauto | <st-style <shape>elements with the 'position' property of type 'absolute'non/a
overflowvisible | hidden | scroll | autoelements with the 'position' property of type 'absolute'non/a
z-indexauto | <integer>positional elementsnon/a
visibilityinherit | visible | hiddenall elementsif value is 'inherit'n/a

symbols 
and abbreviations
symbols | meaning

< ... >

words between "<" and ">" give a type of value (all other words are keywords that must appear literally, without quotes)
/ must appear literally
, must appear literally
[ ... ] grouping
A | B one of A or B must occur
A || B either A or B must occur, in any order
* the preceding type, word, or group repeats zero or more times
+ the preceding type, word, or group repeats one or more times
? the preceding type, word, or group is optional
{x,y} the preceding type, word, or group repeats at least x and at most y times, where x and y are integers