From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/css/_doublecolon_spelling-error/index.html | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 files/zh-cn/web/css/_doublecolon_spelling-error/index.html (limited to 'files/zh-cn/web/css/_doublecolon_spelling-error/index.html') 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' +--- +
{{CSSRef}}{{SeeCompatTable}}
+ +

::spelling-error CSS 伪元素 表示浏览器标记为不正确拼写的文本段。

+ +
::spelling-error {
+  color: red;
+}
+ +

可用的属性

+ +

只有一小部分CSS属性可用于 ::spelling-error 伪元素选择器:

+ + + +

语法

+ +
::spelling-error
+ +

标准

+ + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('CSS4 Pseudo-Elements', '#selectordef-spelling-error', '::spelling-error')}}{{Spec2('CSS4 Pseudo-Elements')}}Initial definition.
+ +

浏览器兼容性

+ +
+ + +

{{Compat("css.selectors.spelling-error")}}

+
+ +

参见

+ + -- cgit v1.2.3-54-g00ecf