property
font-variation-settings — CSS reference
Sets numeric values for four-character variation axis tags. Initial normal; inherited. Use font-weight, font-stretch/width or font-style for registered axes when possible. An explicit axis setting can override a corresponding high-level value; a face without that axis cannot display it.
Formal Syntax & Structure
css syntaxcss
normal | [ <string> <number> ]#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-variation-settings:"wght" 650}</style><body><p id="a">Office 012345 — typography</p><p id="b" lang="fa" dir="rtl">سلام دنیا</p></body></html>