CSS font属性

font-family

font-style

1.normal

2,italic

3.oblique

 

 

 

font-size

absolute size

relative sizeet the size realtive to surrounding elements.

没有指定字体尺寸的话。默认的正常文本尺寸,比如paragraph.

is 16px( 16px=1em)

 

to avoid the resizing problem with ie,many developers use em instead of pixels

font-weight:

1.bold

2normal

3bolder

4lighter

 

font-variant

1 normal

2 small-caps

3inherit

 

font-stretch

@font-face

 

 

可以继承都有font ,font-famliy,font-size,font-style,font-variant,font-wieht; (5合1)

 

 

 

Text文本

text-indent,

text-align;

word-spacing;

text-transform;

letter-spacing,line-height;