CSS Reference
Background | Border | Margin | Padding | Dimension | Positions | Text | Font | Lists and Markers | Classification | Table | Outline | Pseudo Classes | Pseudo Element
Text
| Property | Description | Value |
|---|---|---|
| color | Sets the color of text | color-rgb color-hex color name |
| direction | Sets the text direction. | ltr rtl |
| letter-spacing | Sets the space between characters. | normal length |
| text-algin | Aligns the text within an element. | left right center Justify |
| text-decoration | Sets decoration of text. | none underline overline line-through blink |
| text-transform | Tranforms the text within element to specific case. | none capitalize uppercase lowercase |
| text-shadow | Apply shadow to text. | none color length |
| white-space | Sets how the browser should handle the white space within an element. | normal pre nowrap |
| word-spacing | Define the space withinw words. | normal length |
Font
| Property | Description | Value |
|---|---|---|
| font | A shorthand for settings all font properties. | font-style font-variant font-weight font-size line-height font-family caption icon menu message-box small-caption status bar |
| font-size | Sets the size of specific font. | length % |
| font-family | Set the font family. | font family name |
| font-stretch | Condense or expend current font-family. | normal wider narrower ultra-condensed extra-condensed condensed semi-condensed semi-expanded>br />expanded extra-expanded ultra-expended |
| font-style | Sets the style of fonts. | normal italic oblique |
| font-weight | Sets the weight of font. | normal bold bolder lighter 100-900 |