css教程:CSS字體font屬性的應(yīng)用_CSS教程
教程Tag:暫無Tag,歡迎添加,賺取U幣!
The CSS font properties define the font in text.
CSS字體屬性可定義文字所使用的字體。
設(shè)置文字的字體 Set the font of a text
This example demonstrates how to set a font of a text.
Examples 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的大小 Set the size of the font
This example demonstrates how to set the size of a font.
Examples 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的樣式 Set the style of the font
This example demonstrates how to set the style of a font.
Examples 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的形態(tài) Set the variant of the font
This example demonstrates how to set the variant of a font.
Examples 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體粗細(xì) Set the boldness of the font
This example demonstrates how to set the boldness of a font.
Examples 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
一個(gè)聲明設(shè)置所有字體屬性 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 實(shí)例:
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
The CSS font properties allow you to change the font family, boldness, size, and the style of a text.
CSS字體屬性答應(yīng)你改變字體以及它的粗細(xì),大小和樣式。
CSS字體屬性可定義文字所使用的字體。
設(shè)置文字的字體 Set the font of a text
This example demonstrates how to set a font of a text.
Examples 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的大小 Set the size of the font
This example demonstrates how to set the size of a font.
Examples 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的樣式 Set the style of the font
This example demonstrates how to set the style of a font.
Examples 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體的形態(tài) Set the variant of the font
This example demonstrates how to set the variant of a font.
Examples 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
設(shè)置字體粗細(xì) Set the boldness of the font
This example demonstrates how to set the boldness of a font.
Examples 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
一個(gè)聲明設(shè)置所有字體屬性 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 實(shí)例:
代碼調(diào)試框 [www.hl5o.cn]
[ 可先修改部分代碼 再運(yùn)行查看效果 ]
The CSS font properties allow you to change the font family, boldness, size, and the style of a text.
CSS字體屬性答應(yīng)你改變字體以及它的粗細(xì),大小和樣式。
相關(guān)CSS教程:
- 相關(guān)鏈接:
- 教程說明:
CSS教程-css教程:CSS字體font屬性的應(yīng)用
。