::grammar-error {
/* ... */
}`::grammar-error` CSS pseudo-element / notebook
`::grammar-error` CSS pseudo-element
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<p contenteditable spellcheck="true">
My friends is coming to the party tonight.
</p>::grammar-error {
text-decoration: underline red;
color: red;
}