这个word-spacing
属性增加或减少单词之间的空白。
笔记:允许负值。
表中的数字指定完全支持该属性的第一个浏览器版本。
Property | |||||
---|---|---|---|---|---|
word-spacing | 1.0 | 6.0 | 1.0 | 1.0 | 3.5 |
word-spacing: normal|
length|initial|inherit;
Value | Description | Demo |
---|---|---|
normal | Defines normal space between words (0.25em) . This is default | Demo ❯ |
length | Defines an additional space between words (in px, pt, cm, em, etc). Negative values are allowed. Read about length units | Demo ❯ |
initial | Sets this property to its default value. Read about initial | |
inherit | Inherits this property from its parent element. Read about inherit |
CSS教程:CSS 文本间距
HTML DOM 参考:wordSpacing 属性
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!