下列是CSS3中有关字体的样式属性。
| 属性 | 含义 |
|---|---|
| font-size | 字体大小 |
| font-style | 字体倾斜 |
| font-variant | 英文小型大写 |
| font-weight | 字体加粗 |
| font-family | 系统字体 |
| @font-face | Web字体 |
| font | 字体综合设置 |
下列是CSS3中有关文本的样式属性。
| 属性 | 含义 |
|---|---|
| text-indent | 首行缩进 |
| text-decoration | 下划线 |
| text-transform | 英文大小写 |
| text-align | 文本对齐 |
| line-height | 行高 |
| letter-spacing | 文本间距 |
| word-spacing | 单词间距 |
| word-wrap | 英文单词断句 |
| white-space | 换行设置 |
下列是一些文本效果设定的属性。
| 属性 | 含义 |
|---|---|
| text-shadow | 文本阴影 |
| text-overflow | 文本裁剪 |
| text-stroke | 文本描边 |
| text-fill-color | 文本填充 |