font-feature-settings

Introduction

The font-feature-settings CSS property is used to control advanced typographic features in OpenType fonts.

Examples

Syntax

font-feature-settings: 'onum';

Formal Definition

Initial valuenormal
Applies totext
Inheritedyes
Animatableno

Formal Syntax

font-feature-settings =
  normal                |
  <feature-tag-value>#

<feature-tag-value> =
  <opentype-tag> [ <integer [0,∞]> | on | off ]?

<opentype-tag> =
  <string>

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.