property

font-feature-settings — CSS reference

Low-level OpenType feature controls using four-character quoted tags and optional nonnegative integer values (on/off are aliases). Initial normal; inherited. Prefer semantic font-variant longhands when possible. Unsupported features may have no visual effect.

Formal Syntax & Structure

css syntaxcss
normal | <feature-tag-value>#

Working Example

Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS font lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{font-feature-settings:"kern" 0, "liga" 0}</style><body><p id="a">Office 012345 — typography</p><p id="b" lang="fa" dir="rtl">سلام دنیا</p></body></html>
CSS Reference