The links in the "Property" column point to syntax, examples, browser support, etc.
The "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).
| Property |
Description |
CSS |
| bottom |
Sets the bottom margin edge for a positioned box |
2 |
| clear |
Specifies which sides of an element where other floating elements are not allowed |
1 |
| clip |
Clips an absolutely positioned element |
2 |
| cursor |
Specifies the type of cursor to be displayed |
2 |
| display |
Specifies the type of box an element should generate |
1 |
| float |
Specifies whether or not a box should float |
1 |
| left |
Sets the left margin edge for a positioned box |
2 |
overflow
|
Specifies what happens if content overflows an element's
box |
2 |
| position |
Specifies the type of positioning for an element |
2 |
| right |
Sets the right margin edge for a positioned box |
2 |
| top |
Sets the top margin edge for a positioned box |
2 |
| visibility |
Specifies whether or not an element is visible |
2 |
| z-index |
Sets the stack order of an element |
2 |
| Property |
Description |
CSS |
| color |
Sets the color of text |
1 |
| direction |
Specifies the text direction/writing direction |
2 |
| letter-spacing |
Increases or decreases the space between characters in a text |
1 |
| line-height |
Sets the line height |
1 |
| text-align |
Specifies the horizontal alignment of text |
1 |
| text-decoration |
Specifies the decoration added to text |
1 |
| text-indent |
Specifies the indentation of the first line in a text-block |
1 |
| text-shadow |
Specifies the shadow effect added to text |
2 |
| text-transform |
Controls the capitalization of text |
1 |
| unicode-bidi |
|
2 |
| vertical-align |
Sets the vertical alignment of an element |
1 |
| white-space |
Specifies how white-space inside an element is handled |
1 |
| word-spacing |
Increases or decreases the space between words in a text |
1 |
| Property |
Description |
CSS |
| :active |
Adds a style to an element that is activated |
1 |
| :after |
Adds content after an element |
2 |
| :before |
Adds content before an element |
2 |
| :first-child |
Adds a style to an element that is the first child of
another element |
2 |
| :first-letter |
Adds a style to the first character of a text |
1 |
| :first-line |
Adds a style to the first line of a text |
1 |
| :focus |
Adds a style to an element that has keyboard input focus |
2 |
| :hover |
Adds a style to an element when you mouse over it |
1 |
| :lang |
Adds a style to an element with a specific lang attribute |
2 |
| :link |
Adds a style to an unvisited link |
1 |
| :visited |
Adds a style to a visited link |
1 |