From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/css/@font-face/font-family/index.html | 89 ++++++++++++++++++++++ 1 file changed, 89 insertions(+) create mode 100644 files/ja/web/css/@font-face/font-family/index.html (limited to 'files/ja/web/css/@font-face/font-family') diff --git a/files/ja/web/css/@font-face/font-family/index.html b/files/ja/web/css/@font-face/font-family/index.html new file mode 100644 index 0000000000..39aa78e3a9 --- /dev/null +++ b/files/ja/web/css/@font-face/font-family/index.html @@ -0,0 +1,89 @@ +--- +title: font-family +slug: Web/CSS/@font-face/font-family +tags: + - '@font-face' + - At-rule descriptor + - CSS + - CSS Descriptor + - CSS Fonts + - Reference +translation_of: Web/CSS/@font-face/font-family +--- +
{{CSSRef}}
+ +

font-family は CSS の記述子で、 {{cssxref("@font-face")}} 規則で指定されたフォントのフォントファミリーを指定することができます。

+ +

構文

+ +
/* <string> 値 */
+font-family: "font family";
+font-family: 'another font family';
+
+/* <custom-ident> 値 */
+font-family: examplefont;
+
+ +

+ +
+
<family-name>
+
フォントファミリーの名前を指定します。
+
+ +

公式定義

+ +

{{cssinfo}}

+ +

形式文法

+ +
{{csssyntax}}
+ +

+ +

フォントファミリー名の設定

+ +
@font-face {
+  font-family: examplefont;
+  src: url('examplefont.ttf');
+}
+
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('CSS3 Fonts', '#font-family-desc', 'font-family')}}{{Spec2('CSS3 Fonts')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("css.at-rules.font-face.font-family")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf