aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryionr <yionr99@gmail.com>2022-01-10 23:45:56 +0800
committerGitHub <noreply@github.com>2022-01-10 23:45:56 +0800
commitb691f45c3a2db833930201f4c40eb264fbb93ad4 (patch)
tree492c8cb33da9f7f1fd700e196b1ceb72026e7ff4
parentf8ddc326a0dfb9641930dc9bc9f65a097fc54d7e (diff)
downloadtranslated-content-b691f45c3a2db833930201f4c40eb264fbb93ad4.tar.gz
translated-content-b691f45c3a2db833930201f4c40eb264fbb93ad4.tar.bz2
translated-content-b691f45c3a2db833930201f4c40eb264fbb93ad4.zip
Sync Web/CSS/inherit, zh-CN (#3455)
* 同步英语版本修改 * fix 补充 ‘继承’的超链接
-rw-r--r--files/zh-cn/web/css/inherit/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/css/inherit/index.html b/files/zh-cn/web/css/inherit/index.html
index b676f01387..d807eebdf2 100644
--- a/files/zh-cn/web/css/inherit/index.html
+++ b/files/zh-cn/web/css/inherit/index.html
@@ -13,7 +13,7 @@ translation_of: Web/CSS/inherit
<p> <strong><code>inherit</code></strong> 关键字使得元素获取其父元素的<a href="/zh-CN/docs/Web/CSS/computed_value">计算值</a>。它可以应用于任何CSS属性,包括CSS简写 {{cssxref("all")}}。</p>
-<p>对于继承属性,inherit 关键字只是增强了属性的默认行为,通常只在覆盖原有的值的时候使用。对于非继承属性,inherit 这指定的行为通常没有多大意义,一般使用使用 {{cssxref("initial")}} 或 {{cssxref("unset")}} 作为替代。</p>
+<p>对于<a href='https://developer.mozilla.org/zh-CN/docs/Web/CSS/inheritance#inherited_properties'>继承</a>属性,inherit 关键字只是增强了属性的默认行为,通常只在覆盖原有的值的时候使用。</p>
<p>继承始终来自文档树中的父元素,即使父元素不是包含块。</p>