::spelling-error {
/* ... */
}`::spelling-error` CSS pseudo-element / notebook
`::spelling-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 are coegdfgfddffbgning to the party tonight.
</p>::spelling-error {
text-decoration: wavy red underline;
}