0

I am trying to use font-feature-settings: 'tnum' on, 'lnum' on; style on a custom font, but I am unable to see any visible effect of this property on the font.

Moreover, in my JSFiddle snippet, I am getting css compile error

"Expected no more than 1 declaration"

  1. Is this css font-feature-property correct?
  2. Is there any specific css property which is needed for this to take effect?
4

1 回答 1

0

不要加“开”;只需列出功能。

font-feature-settings: 'tnum', 'lnum'

有关详细信息和示例,请参阅CSS 字体模块

于 2021-07-28T15:36:53.887 回答