The CSS font properties define the font in text.
CSS字体属性可定义文字所使用的字体。
设置文字的字体 Set the font of a text
This example demonstrates how to set a font of a text.
Examples 实例:
代码调试框 [www.dedecms.com]
This is header 3
www.dedecms.com
This is a paragraph
This is a paragraph
设置字体的大小 Set the size of the font
This example demonstrates how to set the size of a font.
Examples 实例:
代码调试框 [www.dedecms.com]
This is header 1 www.dedecms.com
This is header 2
This is a paragraph
设置字体的样式 Set the style of the font
This example demonstrates how to set the style of a font.
Examples 实例:
代码调试框 [www.dedecms.com]
This is header 1
This is header 2 www.dedecms.com
This is a paragraph
设置字体的形态 Set the variant of the font
This example demonstrates how to set the variant of a font.
Examples 实例:
代码调试框 [www.dedecms.com]
This is a paragraph www.dedecms.com
This is a paragraph
设置字体粗细 Set the boldness of the font
This example demonstrates how to set the boldness of a font.
Examples 实例:
代码调试框 [www.dedecms.com]
This is a paragraph
This is a paragraph www.dedecms.com
This is a paragraph
一个声明设置所有字体属性 All the font properties in one declaration
This example demonstrates how to use the shorthand property for setting all of the font properties in one declaration.
Examples 实例:
代码调试框 [www.dedecms.com]
This is a paragraph
www.dedecms.com
The CSS font properties allow you to change the font family, boldness, size, and the style of a text.
CSS字体属性答应你改变字体以及它的粗细,大小和样式。
发表回复