<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feDistantLight>
<feFlood>
<feFuncA>
<feFuncB>
<feFuncG>
<feFuncR>
<feGaussianBlur>
<feImage>
<feMerge>
<feMergeNode>
<feMorphology>
<feOffset>
<fePointLight>
<feSpecularLighting>
<feSpotLight>
<feTile>
<feTurbulence>
<filter>
<font>
<font-face>
<font-face-format>
<font-face-name>
<font-face-src>
<font-face-uri>
<foreignObject>
letter-spacing
attribute controls spacing between text characters, in addition to any spacing from the
kerning
属性。
If the attribute value is a unitless number (like
128
), the browser processes it as a
<length>
in the current user coordinate system.
If the attribute value has a unit identifier, such as
.25em
or
1%
, then the browser converts the <length> into its corresponding value in the current user coordinate system.
注意:
As a presentation attribute,
letter-spacing
can be used as a CSS property. See the
css letter-spacing
property for more information.
You can use this attribute with the following SVG elements:
<svg viewBox="0 0 400 30" xmlns="http://www.w3.org/2000/svg">
<text y="20" letter-spacing="2">Bigger letter-spacing</text>
<text x="200" y="20" letter-spacing="-0.5">Smaller letter-spacing</text>
</svg>
| 值 |
normal
|
<length>
|
|---|---|
| 默认值 |
normal
|
| Animatable | Yes |
For a description of the values, please refer to the
CSS
letter-spacing
特性。
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS Text Module Level 3
The definition of 'letter-spacing' in that specification. |
候选推荐 | SVG 2 just refers to the definition in CSS Text 3. |
|
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'letter-spacing' in that specification. |
推荐 | 初始定义 |
BCD tables only load in the browser
最后修改: , 由 MDN 贡献者