font文字排版
1.font-family设置字体 :"yahei";
2.font-size设置字体大小:10px;
3.font-weight设置粗体:bold;
4.font-style设置文字倾斜:"normal"默认正常 "italic" "oblique" 倾斜;
4.text-decoration设置字体装饰,一般用这个属性去掉url的下划线:"none"取消所有装饰,"underline"加下划线,"overline"加上划线(没看到过),"line-through"穿过文本的线(价格调整)
5.text-indent设置段落首行缩进:"2em";
6.line-height设置行高:20px;(如果是单行文字并且想让文字垂直居中,就设置成父容器的height)
7.letter-space设置文字间距或者字母间距:"2em";
8.text-align设置块状元素中的文本,图片居中:"center" "left" "right";