FontFace: style property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{APIRef("CSS Font Loading API")}}{{AvailableInWorkers}}

The **style** property of the {{domxref("FontFace")}} interface retrieves or sets the font's style.

This property is equivalent to the {{cssxref("@font-face/font-style", "font-style")}} descriptor.

Value

A string containing the descriptors defined in the style sheet's @font-face rule.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}