FontFace: stretch property

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

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

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

The **stretch** property of the {{domxref("FontFace")}} interface retrieves or sets how the font stretches.

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

Value

A string containing a descriptor as it would be defined in a style sheet's @font-face rule.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}