From cb44588d08f4a02c0378a34bb62a7adc49631a7f Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Wed, 16 Feb 2022 10:35:39 +0900 Subject: 2021/08/13 時点の英語版に同期 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/css/@font-face/font-family/index.md | 56 +++++++++--------------- 1 file changed, 21 insertions(+), 35 deletions(-) (limited to 'files') diff --git a/files/ja/web/css/@font-face/font-family/index.md b/files/ja/web/css/@font-face/font-family/index.md index ae8814bb60..5ddcc0c753 100644 --- a/files/ja/web/css/@font-face/font-family/index.md +++ b/files/ja/web/css/@font-face/font-family/index.md @@ -5,74 +5,61 @@ tags: - '@font-face' - アットルール記述子 - CSS - - CSS Descriptor - - CSS Fonts + - CSS 記述子 + - CSS フォント - リファレンス +browser-compat: css.at-rules.font-face.font-family translation_of: Web/CSS/@font-face/font-family --- {{CSSRef}} -`font-family` は CSS の記述子で、 {{cssxref("@font-face")}} 規則で指定されたフォントのフォントファミリーを指定することができます。 +**`font-family`** は CSS の記述子で、 {{cssxref("@font-face")}} ルールで指定されたフォントのフォントファミリーを指定することができます。 ## 構文 -
/* <string> 値 */
+```css
+/*  値 */
 font-family: "font family";
 font-family: 'another font family';
 
-/* <custom-ident> 値 */
+/*  値 */
 font-family: examplefont;
-
+``` -

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

公式定義

+## 公式定義 {{cssinfo}} -

形式文法

+## 形式文法 {{csssyntax}} ## 例 -

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

+### フォントファミリー名の設定 -
@font-face {
+```css
+@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")}} +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} ## 関連情報 - -- cgit v1.2.3-54-g00ecf