文本
字体
图像
列表
文本
-
文本颜色【color】
-
水平对齐【text-align】
-
[ ] 左、右、居中、justify平均分布
-
-
垂直对齐【vertical-align】
- top、middle、bottom
- 父元素需要是display: inline-block;否则无效
-
文本装饰【text-decoration】
- none、overline(上划线)、line-through(中)、underline(下)
-
文本缩进【text-indent】
- 指定文本第一行的缩进
-
字符间距【letter-spacing】
- 文本中字符之间的水平间距
-
文本阴影【text-shadow】
- 水平阴影(0px)+垂直阴影(0px)+[ 模糊效果 (0px)]+[ 颜色 ]
字体
-
font-family【字体】
- 微软雅黑、黑体、行书···
-
font-style【字体样式】
- normal 文本正常
- italic 斜体
-
font-weight【字体粗细】
- normal 正常
- bold 加租
- <