MDN self-hosted library · e01.org

`::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.

css
::spelling-error {
  /* ... */
}
html
<p contenteditable spellcheck="true">
  My friends are coegdfgfddffbgning to the party tonight.
</p>
css
::spelling-error {
  text-decoration: wavy red underline;
}