diff options
author | Pathen <evollhhan@gmail.com> | 2021-07-23 02:51:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 02:51:40 +0800 |
commit | c3ff7791fbeead7f2bc9a383295ce6d5174f100a (patch) | |
tree | 5950b3e19457d4268af088205c9f2b06fbe47165 /files | |
parent | 02757ad046009f8bc221e4a7a3f3c2896c38f0e4 (diff) | |
download | translated-content-c3ff7791fbeead7f2bc9a383295ce6d5174f100a.tar.gz translated-content-c3ff7791fbeead7f2bc9a383295ce6d5174f100a.tar.bz2 translated-content-c3ff7791fbeead7f2bc9a383295ce6d5174f100a.zip |
Fix Web/CSS/@font-face/font-display, zh-CN (#1653)
The colon in the example is incorrect, should fix “:”to“ :” .
Diffstat (limited to 'files')
-rw-r--r-- | files/zh-cn/web/css/@font-face/font-display/index.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/files/zh-cn/web/css/@font-face/font-display/index.html b/files/zh-cn/web/css/@font-face/font-display/index.html index 5dd4424fb9..cda4222d52 100644 --- a/files/zh-cn/web/css/@font-face/font-display/index.html +++ b/files/zh-cn/web/css/@font-face/font-display/index.html @@ -29,11 +29,11 @@ translation_of: Web/CSS/@font-face/font-display <h2 id="语法">语法</h2> <pre class="brush: css">/* 关键字值 */ -font-display:auto; -font-display:block; -font-display:swap; -font-display:fallback; -font-display:optional;</pre> +font-display: auto; +font-display: block; +font-display: swap; +font-display: fallback; +font-display: optional;</pre> <h3 id="属性值">属性值</h3> @@ -57,12 +57,12 @@ font-display:optional;</pre> <h2 id="例子">例子</h2> <pre class="brush: css">@ font-face { - font-family:ExampleFont; - src:url(/path/to/fonts/examplefont.woff)format('woff'), + font-family: ExampleFont; + src: url(/path/to/fonts/examplefont.woff)format('woff'), url(/path/to/fonts/examplefont.eot)format('eot'); - font-weight:400; - font-style:normal; - font-display:fallback; + font-weight: 400; + font-style: normal; + font-display: fallback; }</pre> <h2 id="规范">规范</h2> |