# font-feature-settings

> The `font-feature-settings` CSS property allows control over advanced typographic features in OpenType fonts.

## How do I enable OpenType features like tabular numbers in CSS?

The property that provides low-level control over OpenType font features, such as ligatures, small caps or stylistic alternates. It allows fine-tuning how text is displayed by enabling or disabling specific font features, which often enhances typographic quality.

- Topic: Font Features
- Type: property
- Browser support: Chrome 48+, Chrome Android 48+, Edge 15+, Firefox 34+, Firefox Android 34+, Safari 9.1+, Safari iOS 9.3+

## Example

Wrong:

```css
.price {
  font-feature-settings: "tnum" 1;
}
```

Right:

```css
.price {
  font-variant-numeric: tabular-nums;
}
```

`font-variant-numeric` sets the same feature without overriding other features set elsewhere.

## Common mistakes

- A nested rule sets one feature and all the other inherited features turn off.
- Enabling a feature the font does not include and nothing changes.

## Key points

- Common features use `font-variant-*` properties, with `font-feature-settings` only for features they lack.
- Each declaration lists every needed feature, since a new value replaces the whole list.
- Feature tags are four-letter quoted strings like `"ss01"`.

## Interview questions

### What is the difference between font-feature-settings and font-variant?

`font-variant-*` are high-level properties that combine safely. `font-feature-settings` sets raw OpenType tags and replaces the whole list each time.

### How do I know which features a font supports?

Check the font's documentation or inspect the file with a font tool; the browser ignores tags the font does not have.

## Related cards

- [font-variant](https://wonderium.dev/css/font-variant.md)
- [font-variant-numeric](https://wonderium.dev/css/font-variant-numeric.md)
- [font-variant-ligatures](https://wonderium.dev/css/font-variant-ligatures.md)
- [font-variation-settings](https://wonderium.dev/css/font-variation-settings.md)
- [@font-feature-values](https://wonderium.dev/css/font-feature-values.md)

---

- Level: [CSS](https://wonderium.dev/css.md)
- HTML version: https://wonderium.dev/css/font-feature-settings
- Last updated: 2026-11-25
