文本设置代码单词
文本颜色 color
文本居中方式 text-align
段落首行推进 text-indent
文本装饰线 text-decoration:underline文本下方 overline文本上方 none无 line-through文本中间
英文字母大小写 text-transform :capitalize首字母大写 uppercase所有字母大写 lowercase所有字母小写
文本阴影 text-shadow
段落文本行高 line-height
单词之间的距离 word-sapcing
字符之间的距离 letter-spacing
空格换行处理 white-space:pre空格符换行符都保留 nowarp文本不会换行 pre-warp空格符和换行符都保留
文本设置方向 direction:ltr trl
文本溢出处理 overflow ellipsis(省略号)hidden隐藏 auto自动 scroll卷入
文本裁剪 text-overflow