diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/css/_doublecolon_spelling-error/index.html | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/zh-cn/web/css/_doublecolon_spelling-error/index.html')
-rw-r--r-- | files/zh-cn/web/css/_doublecolon_spelling-error/index.html | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/files/zh-cn/web/css/_doublecolon_spelling-error/index.html b/files/zh-cn/web/css/_doublecolon_spelling-error/index.html new file mode 100644 index 0000000000..fd89014d39 --- /dev/null +++ b/files/zh-cn/web/css/_doublecolon_spelling-error/index.html @@ -0,0 +1,64 @@ +--- +title: '::spelling-error' +slug: 'Web/CSS/::spelling-error' +translation_of: 'Web/CSS/::spelling-error' +--- +<div>{{CSSRef}}{{SeeCompatTable}}</div> + +<p><strong><code>::spelling-error</code></strong> <a href="/en-US/docs/Web/CSS">CSS</a> <a href="/en/CSS/Pseudo-elements">伪元素</a> 表示浏览器标记为不正确拼写的文本段。</p> + +<pre class="brush: css no-line-numbers">::spelling-error { + color: red; +}</pre> + +<h2 id="可用的属性">可用的属性</h2> + +<p>只有一小部分CSS属性可用于 <code>::spelling-error</code> 伪元素选择器:</p> + +<ul> + <li>{{cssxref("color")}}</li> + <li>{{cssxref("background-color")}}</li> + <li>{{cssxref("cursor")}}</li> + <li>{{cssxref("caret-color")}}</li> + <li>{{cssxref("outline")}} and its longhands</li> + <li>{{cssxref("text-decoration")}} and its associated properties</li> + <li>{{cssxref("text-emphasis-color")}}</li> + <li>{{cssxref("text-shadow")}}</li> +</ul> + +<h2 id="语法">语法</h2> + +<pre class="syntaxbox">::spelling-error</pre> + +<h2 id="标准">标准</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('CSS4 Pseudo-Elements', '#selectordef-spelling-error', '::spelling-error')}}</td> + <td>{{Spec2('CSS4 Pseudo-Elements')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="浏览器兼容性">浏览器兼容性</h2> + +<div> + + +<p>{{Compat("css.selectors.spelling-error")}}</p> +</div> + +<h2 id="参见">参见</h2> + +<ul> + <li>{{cssxref("::grammar-error")}}</li> +</ul> |