diff --git a/files/es/web/css/@font-face/font-display/index.md b/files/es/web/css/@font-face/font-display/index.md index d589d228663908..74e3b929c1b658 100644 --- a/files/es/web/css/@font-face/font-display/index.md +++ b/files/es/web/css/@font-face/font-display/index.md @@ -52,8 +52,8 @@ font-display: optional; @font-face { font-family: ExampleFont; src: - url(/path/to/fonts/examplefont.woff) format("woff"), - url(/path/to/fonts/examplefont.eot) format("eot"); + url("/path/to/fonts/example-font.woff") format("woff"), + url("/path/to/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback; diff --git a/files/fr/web/css/@font-face/font-display/index.md b/files/fr/web/css/@font-face/font-display/index.md index e749679427d8a5..74a8ac0777726d 100644 --- a/files/fr/web/css/@font-face/font-display/index.md +++ b/files/fr/web/css/@font-face/font-display/index.md @@ -54,8 +54,8 @@ font-display: optional; @font-face { font-family: FonteExemple; src: - url(/chemin/vers/fonts/examplefont.woff) format("woff"), - url(/chemin/vers/fonts/examplefont.eot) format("eot"); + url("/chemin/vers/fonts/example-font.woff") format("woff"), + url("/chemin/vers/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback; diff --git a/files/ja/web/css/@font-face/font-display/index.md b/files/ja/web/css/@font-face/font-display/index.md index db5372b2c15c08..55e723f82bd3ab 100644 --- a/files/ja/web/css/@font-face/font-display/index.md +++ b/files/ja/web/css/@font-face/font-display/index.md @@ -59,7 +59,7 @@ font-display: optional; font-family: ExampleFont; src: url("/path/to/fonts/example-font.woff") format("woff"), - url("/path/to/fonts/example-font.eot") format("eot"); + url("/path/to/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback; diff --git a/files/ko/web/css/@font-face/font-display/index.md b/files/ko/web/css/@font-face/font-display/index.md index 00da773d2e571b..4e44007444cd67 100644 --- a/files/ko/web/css/@font-face/font-display/index.md +++ b/files/ko/web/css/@font-face/font-display/index.md @@ -52,8 +52,8 @@ font-display: optional; @font-face { font-family: ExampleFont; src: - url(/path/to/fonts/examplefont.woff) format("woff"), - url(/path/to/fonts/examplefont.eot) format("eot"); + url("/path/to/fonts/example-font.woff") format("woff"), + url("/path/to/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback; diff --git a/files/ru/web/css/@font-face/font-display/index.md b/files/ru/web/css/@font-face/font-display/index.md index 08840a599717df..f7e1ee0276ea10 100644 --- a/files/ru/web/css/@font-face/font-display/index.md +++ b/files/ru/web/css/@font-face/font-display/index.md @@ -56,8 +56,8 @@ font-display: optional; @font-face { font-family: ExampleFont; src: - url(/path/to/fonts/examplefont.woff) format("woff"), - url(/path/to/fonts/examplefont.eot) format("eot"); + url("/path/to/fonts/example-font.woff") format("woff"), + url("/path/to/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback; diff --git a/files/zh-cn/web/css/@font-face/font-display/index.md b/files/zh-cn/web/css/@font-face/font-display/index.md index 0fd622e3a28e69..789f6d0382fde6 100644 --- a/files/zh-cn/web/css/@font-face/font-display/index.md +++ b/files/zh-cn/web/css/@font-face/font-display/index.md @@ -49,10 +49,11 @@ font-display: optional; ## 例子 ```css -@ font-face { +@font-face { font-family: ExampleFont; - src: url(/path/to/fonts/examplefont.woff)format('woff'), - url(/path/to/fonts/examplefont.eot)format('eot'); + src: + url("/path/to/fonts/example-font.woff") format("woff"), + url("/path/to/fonts/example-font.eot") format("embedded-opentype"); font-weight: 400; font-style: normal; font-display: fallback;