aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/cssrule/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/cssrule/index.html')
-rw-r--r--files/zh-cn/web/api/cssrule/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/cssrule/index.html b/files/zh-cn/web/api/cssrule/index.html
index 184e25376b..3af32d9c65 100644
--- a/files/zh-cn/web/api/cssrule/index.html
+++ b/files/zh-cn/web/api/cssrule/index.html
@@ -10,7 +10,7 @@ translation_of: Web/API/CSSRule
---
<div>{{APIRef("CSSOM")}}</div>
-<p><strong><code>CSSRule</code></strong> 接口表示一条 CSS 规则。有几种不同的规则类型,在下面的{{anch("类型常量")}}部分中有悉数列出。</p>
+<p><strong><code>CSSRule</code></strong> 接口表示一条 CSS 规则。有几种不同的规则类型,在下面的<a href="#类型常量">类型常量</a>部分中有悉数列出。</p>
<p><code>CSSRule</code> 接口指定了所有类型的规则的公共属性,而特定类型的规则的专有属性则在这些规则各自类型的、更专用的接口中被指定。</p>
@@ -26,7 +26,7 @@ translation_of: Web/API/CSSRule
<dt id="parentStyleSheet">{{domxref("CSSRule.parentStyleSheet")}} {{readonlyinline}}</dt>
<dd>返回包含此规则的样式表的 {{domxref("CSSStyleSheet")}} 对象。</dd>
<dt id="type">{{domxref("CSSRule.type")}} {{readonlyinline}}</dt>
- <dd>规则类型,表示 CSS 规则类型 {{anch("类型常量")}} 中的一种类型。</dd>
+ <dd>规则类型,表示 CSS 规则类型 <a href="#类型常量">类型常量</a> 中的一种类型。</dd>
</dl>
<h2 id="常量">常量</h2>