::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.
Quick example
::grammar-error {
text-decoration: underline wavy green;
/* makes grammar mistakes stand out with a green wavy line */
} ::grammar-error Browser Support
Limited availability 83% global usage
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Not ready for production without a fallback.
121+
17.4+
121+