aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlvfangren <m18188267414@163.com>2022-03-04 18:59:37 +0800
committerIrvin <irvinfly@gmail.com>2022-03-04 21:45:16 +0800
commit1c9b4d0154814e1768b9e2f67d4cd7d312be9c99 (patch)
treed49b3c7130af8a0f4fb36ff97e9eff701814aa9d
parenta2c8d8e7a7db98c512c697c93f78f80ac3181728 (diff)
downloadtranslated-content-1c9b4d0154814e1768b9e2f67d4cd7d312be9c99.tar.gz
translated-content-1c9b4d0154814e1768b9e2f67d4cd7d312be9c99.tar.bz2
translated-content-1c9b4d0154814e1768b9e2f67d4cd7d312be9c99.zip
fix: delete repeat content
-rw-r--r--files/zh-cn/web/css/inheritance/index.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/files/zh-cn/web/css/inheritance/index.html b/files/zh-cn/web/css/inheritance/index.html
index 9cfa528f96..52c94642c8 100644
--- a/files/zh-cn/web/css/inheritance/index.html
+++ b/files/zh-cn/web/css/inheritance/index.html
@@ -38,18 +38,6 @@ translation_of: Web/CSS/inheritance
<p>…文本 "emphasized text" 就没有边框,因为 {{ Cssxref("border-style") }} 属性的初始值为<code>none</code>。</p>
-<p> {{ Cssxref("inherit") }} 关键字允许显式的声明继承性,它对继承和非继承属性都生效。</p>
-
-<p>可以使用 {{cssxref("all")}} 简写属性一次控制所有属性的继承,该属性将其值应用于所有属性,例如:</p>
-
-<pre class="brush: css">font {
- all: revert;
- font-size: 200%;
- font-weight: bold;
-}</pre>
-
-<p>这会将 {{cssxref("font")}} 属性的样式恢复为用户代理(浏览器)的默认值,除非存在用户样式表,在这种情况下使用该样式表。然后它将字体大小加倍并应用 {{cssxref("font-weight")}} 属性 为<code>"bold"</code></p>
-
<h2 id="注意">注意</h2>
<p>{{ Cssxref("inherit") }} 关键字允许显式的声明继承性,它对继承和非继承属性都生效。</p>