aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn')
-rw-r--r--files/zh-cn/web/css/unset/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/css/unset/index.html b/files/zh-cn/web/css/unset/index.html
index 3b33d4cf63..9ebce13cbf 100644
--- a/files/zh-cn/web/css/unset/index.html
+++ b/files/zh-cn/web/css/unset/index.html
@@ -10,7 +10,7 @@ translation_of: Web/CSS/unset
---
<div>{{CSSRef}}</div>
-<p>如果CSS关键字 <strong><code>unset</code></strong> 从其父级继承,则将该属性重新设置为继承的值,如果没有继承父级样式,则将该属性重新设置为初始值。换句话说,在第一种情况下(继承属性)它的行为类似于{{cssxref("inherit")}} ,在第二种情况下(非继承属性)类似于{{cssxref("initial")}}。它可以应用于任何CSS属性,包括CSS简写属性 {{cssxref("all")}} 。</p>
+<p>CSS关键字 <strong><code>unset</code></strong> 可以分为两种情况,如果这个属性本来有从父级继承的值(这个属性默认可以继承,且父级有定义),则将该属性重新设置为继承的值,如果没有继承父级样式,则将该属性重新设置为初始值。换句话说,在第一种情况下(继承属性)它的行为类似于{{cssxref("inherit")}} ,在第二种情况下(非继承属性)类似于{{cssxref("initial")}}。它可以应用于任何CSS属性,包括CSS简写属性 {{cssxref("all")}} 。</p>
<h2 id="示例">示例</h2>