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