字体样式
- front-family 字体类型
- front-size 字体大小
- front-weight 字体粗细
- front-style 字体风格
文本样式
-
颜色 color rgb(颜色) RGBA(颜色和透明度)
-
文本对齐方式 text-align
-
首行缩进 text-indent
-
行高 line-height
一、字体样式
1、字体类型
font-family:后面可以直接打出来字体的样式,或者直接选择
font-family: Times,"Times New Roman", "楷体";
如果浏览器认识Times,就采用Times的字体,如果不认识Times字体,就采用"Times New Roman"字体,如果也不认识 "Times New Roman"字体,那我就采用"楷体"