aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/css/background-image
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-14 12:18:12 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-14 12:18:12 -0500
commit869dd2069c695ee7040cd3261713212155819f42 (patch)
tree320a95de75a89686a9df006b90d923aa7fa0d551 /files/zh-cn/web/css/background-image
parenta5fcfafb665e96cae5d04dfba927db8dcdfd7f14 (diff)
downloadtranslated-content-869dd2069c695ee7040cd3261713212155819f42.tar.gz
translated-content-869dd2069c695ee7040cd3261713212155819f42.tar.bz2
translated-content-869dd2069c695ee7040cd3261713212155819f42.zip
final dump 2020-12-14
Diffstat (limited to 'files/zh-cn/web/css/background-image')
-rw-r--r--files/zh-cn/web/css/background-image/index.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/files/zh-cn/web/css/background-image/index.html b/files/zh-cn/web/css/background-image/index.html
index c16d7aa861..cf4b302680 100644
--- a/files/zh-cn/web/css/background-image/index.html
+++ b/files/zh-cn/web/css/background-image/index.html
@@ -30,7 +30,7 @@ translation_of: Web/CSS/background-image
<p>可以提供由逗号分隔的多个值来指定多个背景图像:</p>
-<pre class="brush: css no-line-numbers">background-image:
+<pre class="brush: css no-line-numbers notranslate">background-image:
linear-gradient(to bottom, rgba(255,255,0,0.5), rgba(0,0,255,0.5)),
url('https://mdn.mozillademos.org/files/7693/catfront.png');</pre>
@@ -45,15 +45,15 @@ translation_of: Web/CSS/background-image
<h3 id="正规语法">正规语法</h3>
-<pre class="syntaxbox">{{csssyntax}}</pre>
+<pre class="syntaxbox notranslate">{{csssyntax}}</pre>
-<h2 id="示例">示例</h2>
+<h2 id="Examples" name="Examples">示例</h2>
<p>注意星星图片部分透明且位于猫图片上方.</p>
-<h3 id="HTML">HTML</h3>
+<h4 id="HTML">HTML</h4>
-<pre class="brush: html">&lt;div&gt;
+<pre class="brush: html notranslate">&lt;div&gt;
&lt;p class="catsandstars"&gt;
This paragraph is full of cats&lt;br /&gt;and stars.
&lt;/p&gt;
@@ -64,9 +64,9 @@ translation_of: Web/CSS/background-image
&lt;p&gt;And no more.&lt;/p&gt;
&lt;/div&gt;</pre>
-<h3 id="CSS">CSS</h3>
+<h4 id="CSS">CSS</h4>
-<pre class="brush: css">p {
+<pre class="brush: css notranslate">p {
font-size: 1.5em;
color: #FE7F88;
background-image: none;
@@ -86,7 +86,7 @@ div {
}
</pre>
-<h3 id="Result">Result</h3>
+<h4 id="运行结果">运行结果</h4>
<p>{{EmbedLiveSample('Examples')}}</p>