css设置文字样式的方法
1.text-align (center,left,right) 水平对齐方式 2.line-height 2px; 行距高度; 3.text-decoration(none,underline,line-though.overline,blink)定义下划线,删除线,顶划线 4.font-family 文字字体设置; 5.font-size 文字字体大小设置 6.color 文字字体颜色设置 7.font-weight(bolder ,ligther或像素设置)改变字体粗细 8.vertical-align(middle,top,bottom)垂直对齐方式; 9.letter-spacing||word-spacing 字间距或词间距 10.text-indent 缩进 来源: https://www.cnblogs.com/AndHowAreYou/p/7634241.html