property

font-variant-ligatures — CSS reference

Controls optional glyph substitutions and contextual alternates. Initial normal; inherited. None disables the controlled ligature features, not essential script shaping. Use care with scripts that require joining behavior.

Formal Syntax & Structure

css syntaxcss
normal | none | [ common-ligatures | no-common-ligatures ] || [ discretionary-ligatures | no-discretionary-ligatures ] || [ historical-ligatures | no-historical-ligatures ] || [ contextual | no-contextual ]

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-variant-ligatures:no-common-ligatures}</style><body><p id="a">Office 012345 — typography</p><p id="b" lang="fa" dir="rtl">سلام دنیا</p></body></html>
CSS Reference