| GENERAL: | ||
|---|---|---|
| String preceded by a period | Class | |
| String preceded by a hash mark | ID | |
| Formats structure or block of text | div | |
| Inline formatting | span | |
| Foreground color | color | |
| Appearance of the cursor | cursor | |
| block; inline; list-item; none | display | |
| How content overflowing its box is handled visible hidden scroll auto | overflow | |
| visible hidden | visibility | |
| BORDER: | ||
|---|---|---|
| Width of the border | border-width | |
| dashed; dotted; double; groove; inset; outset; ridge; solid; none | border-style | |
| Color of the border | border-color | |
| FONT: | ||
|---|---|---|
| Italic normal | font-style | |
| normal small-caps | font-variant | |
| bold normal lighter bolder integer (100-900) | font-weight | |
| Size of the font | font-size | |
| Specific font(s) to be used. | font-family | |
| POSITION: | ||
|---|---|---|
| Any floating elements around the element? both left right none | clear | |
| Floats to a specified side left right none | float | |
| The left position of an element | left | |
| length values (pt in cm px) | auto | |
| The top position of an element auto length values (pt in cm px) | top | |
| static relative absolute | position | |
| Element above or below overlapping elements?auto integer (higher numbers on top) | z-index | |
| BACKGROUND: | ||
|---|---|---|
| Background color | background-color | |
| Background image | background-image | |
| repeat no-repeat repeat-x repeat-y | background-repeat | |
| Background image scroll with the element? scroll fixed | background-attachment | |
| (x y) top center bottom left right | background-position | |
| TEXT: | ||
|---|---|---|
| Space between letters | letter-spacing | |
| Vertical distance between baselines | line-height | |
| Horizontal alignment | text-align | |
| blink line-through none overline underline | text-decoration | |
| First line indentation | text-indent | |
| capitalize lowercase uppercase | text-transform | |
| Vertical alignment | vertical-align | |
| Spacing between words | word-spacing | |
| LIST: | ||
|---|---|---|
| Type of bullet or numbering in the list | list-style-type | |
| disc; circle; square; decimal; lower-roman; upper-roman; lower-alpha; upper-alpha; none | ||
| list-style-position,Position of the bullet or number in a list | ||
| inside; outside | ||
| list-style-image,Image to be used as the bullet in a list | ||