FontFace: variant プロパティ

variantFontFace インターフェイスのプロパティで、プログラムでフォントのバリアント値を取得または設定します。

スタイルシートの @font-face ルールで定義するような記述子の入った文字列です。

仕様書

No specification found

No specification data found for api.FontFace.variant.
Check for problems with this page or contribute a missing spec_url to mdn/browser-compat-data. Also make sure the specification is included in w3c/browser-specs.

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
variant
Non-standard

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Non-standard. Check cross-browser support before using.