The CSS text properties define the appearance of text.
CSS文字属性可用来定义文字的外观设置文字的颜色 Set the color of the textThis example demonstrates how to set the color of the text.
Examples 实例:
Source Code to Run
[www.21shipin.com] 设置文字背景色 Set the background-color of the textThis example demonstrates how to set the background-color of a part of the text.
Examples 实例:
Source Code to Run
[www.21shipin.com] 指定相邻字符的间隙 Specify the space between charactersThis example demonstrates how to increase or decrease the space between characters.
Examples 实例:
对齐文字 Align the textThis example demonstrates how to align the text.
Examples 实例:
文字修饰 Decorate the textThis example demonstrates how to add decoration to text.
Examples 实例:
Source Code to Run
[www.21shipin.com] 文字在段落中缩进 Indent textThis example demonstrates how to indent the first line of a paragraph.
Examples 实例:
Source Code to Run
[www.21shipin.com] 控制文字中的字母 Control the letters in a textThis example demonstrates how to control the letters in a text.
Examples 实例:
Source Code to Run
[www.21shipin.com] CSS Text Properties
CSS 文字属性The CSS text properties allow you to control the appearance of text. It is possible to change the color of a text, increase or decrease the space between characters in a text, align a text, decorate a text, indent the first line in a text, and more.
CSS文字属性答应你控制文字的外观。这可以改变文字的颜色,增加或者缩短文字的间距,文字的对齐,装饰,第一行文字的缩进,还有其他...