# Text
# 颜色
- 十六进制值 - 如: #FF0000
- 一个RGB值 - 如: RGB(255,0,0)
- 颜色的名称 - 如: red
color: red;
color: #00ff00;
color: rgb(255,0,0);
# 对齐
水平对齐
text-align: center;
text-align: right;
text-align: justify;
# 修饰
text-decoration 属性用来设置或删除文本的装饰。
text-decoration: none; /* 删除链接的下划线 */
text-decoration: overline;
text-decoration: line-through;
text-decoration: underline;
# 转换
text-transform: uppercase;
text-transform: lowercase;
text-transform: capitalize;
# 缩进
指定文本的第一行的缩进。
text-indent: 50px;
# 行高
line-height: 200%;
← Fonts