::grammar-error
Matches text that the browser has flagged as having a grammatical error. You can use this to change the color or style of the grammar correction underline.
Syntax
/* Usage Example */
::grammar-error {
text-decoration: underline wavy green;
/* makes grammar mistakes stand out with a green wavy line */
}
::grammar-error Browser support
Limited availability
Since
2020 83% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
121+
17.4+
121+