Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion files/es/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ font-display: optional;
font-family: ExampleFont;
src:
url(/path/to/fonts/examplefont.woff) format("woff"),
url(/path/to/fonts/examplefont.eot) format("eot");
url(/path/to/fonts/examplefont.eot) format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-display: fallback;
Expand Down
2 changes: 1 addition & 1 deletion files/fr/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ font-display: optional;
font-family: FonteExemple;
src:
url(/chemin/vers/fonts/examplefont.woff) format("woff"),
url(/chemin/vers/fonts/examplefont.eot) format("eot");
url(/chemin/vers/fonts/examplefont.eot) format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-display: fallback;
Expand Down
2 changes: 1 addition & 1 deletion files/ja/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion files/ko/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ font-display: optional;
font-family: ExampleFont;
src:
url(/path/to/fonts/examplefont.woff) format("woff"),
url(/path/to/fonts/examplefont.eot) format("eot");
url(/path/to/fonts/examplefont.eot) format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-display: fallback;
Expand Down
2 changes: 1 addition & 1 deletion files/ru/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ font-display: optional;
font-family: ExampleFont;
src:
url(/path/to/fonts/examplefont.woff) format("woff"),
url(/path/to/fonts/examplefont.eot) format("eot");
url(/path/to/fonts/examplefont.eot) format("embedded-opentype");
font-weight: 400;
font-style: normal;
font-display: fallback;
Expand Down
7 changes: 4 additions & 3 deletions files/zh-cn/web/css/@font-face/font-display/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/examplefont.woff) format("woff"),
url(/path/to/fonts/examplefont.eot) format("embedded-opentype");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
url(/path/to/fonts/examplefont.woff) format("woff"),
url(/path/to/fonts/examplefont.eot) format("embedded-opentype");
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;
Expand Down