本文将讲解如何利用 background 系列属性,巧妙的实现一些花式的文字效果。通过本文,你将可以学到:通过 background-size 与 background-position 实现酷炫的文
顺晟科技
2021-10-01 14:23:58
142
字体排版中常用到的属性:
font-family: "Micrsoft Yahei"; 设置字体
font-size: 20px; 设置字号
color: red; 设置颜色
font-weight: bold; 文字加粗
font-style: italic; 文字斜体
text-decoration: underline; 文字下划线
text-decoration: line-through; 文字删除线
text-indent: 2em; 段落缩进
text-align; center; 段落排版居中(左右分别是, left, right)
line-height: 2em; 行间距
letter-spacing: 20px; 字间距(中文)
word-spacing: 50px; 单词间距
15
2022-09
14
2022-09
14
2022-09
14
2022-09
14
2022-09
14
2022-09