accent-height

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the 兼容性表格 at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

accent-height attribute defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system.

You can use this attribute with the following SVG elements:

font-face

For <font-face> , accent-height defines the distance from the origin to the top of accent characters, measured by a distance within the font coordinate system.

<number>
默认值 Value of ascent
Animatable No

规范

规范 状态 注释
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'accent-height' in that specification.
推荐 初始定义

浏览器兼容性

BCD tables only load in the browser

另请参阅

Found a problem with this page?

最后修改: , 由 MDN 贡献者