Home·CSS properties

font-feature-settings

Text

Turns OpenType features on and off directly — tabular figures, ligatures and so on.

How to write itfont-feature-settings: normal;
Common valuesnormal, "tnum" 1, "liga" 0
InheritedYes — children receive it
CategoryText

How to read this

  • An inherited property only needs writing once on the parent — every child picks it up. Most text properties work this way.
  • A shorthand resets whatever you leave out. Writing background: red alone also wipes a background image you set earlier.
  • When rules collide, the more specific selector wins; only when specificity ties does source order decide.
  • Animate transform and opacity for smoothness. Changing width or top forces the layout to be recalculated.

Frequently asked questions

Q. What is the CSS font-feature-settings property?

Turns OpenType features on and off directly — tabular figures, ligatures and so on.

Q. How do you write font-feature-settings?

As font-feature-settings: normal; Common values include normal, "tnum" 1, "liga" 0.

Q. Is font-feature-settings inherited?

Yes. Set it once on the parent and every child uses the same value without repeating it.

Q. What group does font-feature-settings belong to?

The text group.

Properties in the same group

Reference docs