The CSS font properties define the font in text.
CSS字体属性可定义文字所使用的字体。设置文字的字体 Set the font of a textThis example demonstrates how to set a font of a text.
Examples 实例:
Source Code to Run
[www.21shipin.com] 设置字体的大小 Set the size of the fontThis example demonstrates how to set the size of a font.
Examples 实例:
Source Code to Run
[www.21shipin.com] 设置字体的样式 Set the style of the fontThis example demonstrates how to set the style of a font.
Examples 实例:
Source Code to Run
[www.21shipin.com] 设置字体的形态 Set the variant of the fontThis example demonstrates how to set the variant of a font.
Examples 实例:
Source Code to Run
[www.21shipin.com] 设置字体粗细 Set the boldness of the fontThis example demonstrates how to set the boldness of a font.
Examples 实例:
Source Code to Run
[www.21shipin.com] 一个声明设置所有字体属性 All the font properties in one declarationThis example demonstrates how to use the shorthand property for setting all of the font properties in one declaration.
Examples 实例:
Source Code to Run
[www.21shipin.com] The CSS font properties allow you to change the font family, boldness, size, and the style of a text.
CSS字体属性答应你改变字体以及它的粗细,大小和样式。