文本属性总结
- color 文本颜色 通常为十六进制 比如而且是简写形式#fff
- text-align 文本对齐 可以设定文字水平的对齐方式, 属性值left左对齐(默认)right右对齐 ,center居中对齐
- text-indent 文本缩进 通常我们用于段落首行缩进2个字的距离 text-indent:2em
- text-decoration 文本修饰 记住添加下划线underline 取消下划线none 属性值{取消下划线none,添加下划线underline,[上划线overline,删除线line-through,]}
- line-height 行高 控制行与行之间的距离