::grammar-error
::grammar-error 伪元素应用于浏览器标识为语法错误的文本段
只有一小部分的 css 能够应用在::grammar-error 的选择器中
color
background-color
cursor
text-emphasis-color
(en-US)text-shadow
outline
and its longhandstext-decoration
and its associated properties
Specifications
Specification |
---|
CSS Pseudo-Elements Module Level 4 # selectordef-grammar-error |
Browser compatibility
BCD tables only load in the browser