For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt, and this page is available as Markdown at /next/zh/api/css/properties/font-feature-settings.md.
Lynx
  • 简体中文
  • font-feature-settings

    介绍

    font-feature-settings 属性用于控制 OpenType 字体中的高级印刷功能。

    使用示例

    语法

    font-feature-settings: 'onum';

    形式定义

    初始值normal
    适用元素text
    是否支持继承yes
    是否支持动画no

    形式语法

    font-feature-settings =
      normal                |
      <feature-tag-value>#
    
    <feature-tag-value> =
      <opentype-tag> [ <integer [0,∞]> | on | off ]?
    
    <opentype-tag> =
      <string>

    兼容性

    LCD tables only load in the browser

    除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。