CSS Reference

Background | Border | Margin | Padding | Dimension | Positions | Text | Font | Lists and Markers | Classification | Table | Outline | Pseudo Classes | Pseudo Element

Text

PropertyDescriptionValue
colorSets the color of textcolor-rgb
color-hex
color name
directionSets the text direction.ltr
rtl
letter-spacingSets the space between characters.normal
length
text-alginAligns the text within an element.left
right
center
Justify
text-decorationSets decoration of text.none
underline
overline
line-through
blink
text-transformTranforms the text within element to specific case.none
capitalize
uppercase
lowercase
text-shadowApply shadow to text.none
color
length
white-spaceSets how the browser should handle the white space within an element.normal
pre
nowrap
word-spacingDefine the space withinw words.normal
length

Font

PropertyDescriptionValue
fontA 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-sizeSets the size of specific font.length
%
font-familySet the font family.font family name
font-stretchCondense or expend current font-family.normal
wider
narrower
ultra-condensed
extra-condensed
condensed
semi-condensed
semi-expanded>br />expanded
extra-expanded
ultra-expended
font-styleSets the style of fonts.normal
italic
oblique
font-weightSets the weight of font.normal
bold
bolder
lighter
100-900