diff options
Diffstat (limited to 'files/zh-cn/web/css/background-image/index.html')
-rw-r--r-- | files/zh-cn/web/css/background-image/index.html | 16 |
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"><div> +<pre class="brush: html notranslate"><div> <p class="catsandstars"> This paragraph is full of cats<br />and stars. </p> @@ -64,9 +64,9 @@ translation_of: Web/CSS/background-image <p>And no more.</p> </div></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> |