FontFace: variant property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("CSS Font Loading API")}}{{AvailableInWorkers}}{{non-standard_header}}
The **variant** property of the {{domxref("FontFace")}} interface programmatically retrieves or sets font variant values.
Value
A string containing a descriptor as it would be defined in a style sheet's @font-face rule.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}