The font-feature-settings CSS property controls advanced typographic features in OpenType fonts.
|Applies to||all elements. It also applies to ::first-letter and ::first-line.|
Text is laid out using default settings.
When rendering text, the list of OpenType feature tag value is passed to the text layout engine to enable or disable font features. The tag is always a
of 4 ASCII characters. If it has more or less characters, or if it contains characters outside the U+20 – U+7E codepoint range, the whole property is invalid.
The value is a positive integer. The two keywords on and off are synonyms for 1 and 0 respectively. If no value is set, the default is 1. For non-Boolean OpenType features (e.g. stylistic alternates), the value implies a particular glyph to be selected; for Boolean values, it is a switch.