CSS参考手册
文本 | Text
CSS文本 | CSS Text
CSS Text是CSS的一个模块,它定义了如何执行文本的相关操作,如换行,对齐,空白处理和文本转换。
参考
特性
hyphens
letter-spacing
line-break
overflow-wrap
tab-size
text-align
text-align-last
text-indent
text-size-adjust
text-transform
white-space
word-break
word-spacing
word-wrap
指导手册
暂无。
规范
Specification |
Status |
Comment |
---|---|---|
CSS Logical Properties Level 1 |
Editor's Draft |
Updates some properties to be independent of the directionality of the text. |
CSS Text Level 3 |
Working Draft |
|
CSS Level 2 (Revision 1) |
Recommendation |
|
CSS Level 1 |
Recommendation |
Initial definition |
浏览器兼容性
Feature |
Chrome |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari (WebKit) |
---|---|---|---|---|---|
Basic support |
1.0 |
1.0 (1.7 or earlier) |
3 |
3.5 |
1.0 (85) |
Feature |
Android |
Firefox Mobile (Gecko) |
IE Phone |
Opera Mobile |
Safari Mobile |
---|---|---|---|---|---|
Basic support |
(Yes) |
(Yes) |
(Yes) |
(Yes) |
1.0 (85) |
文本 | Text相关
层叠样式表( Cascading Style Sheets )是一种用来表现 HTML 或 XML 等文件样式的计算机语言。CSS 不仅可以静态地修饰网页,还可以配合各种脚本语言动态地对网页各元素进行格式化。