CSS ::spelling-error 伪元素
定义和用法
::spelling-error
伪元素用于样式化浏览器标记为拼写错误的文本。
注意:以下属性可与 ::spelling-error 一起使用
- color
- background-color
- cursor
- caret-color
- outline
- text-decoration
- text-emphasis-color
- text-shadow
版本 | CSS 伪元素模块第 4 级 |
---|
浏览器支持
表中数字表示首次完全支持此伪元素的浏览器版本。
伪元素 | |||||
---|---|---|---|---|---|
::spelling-error | 121 | 121 | 否 | 17.4 | 107 |
CSS 语法
::spelling-error {
CSS 声明;
}
相关页面
CSS 教程:CSS 伪元素