MDN self-hosted library · e01.org

`:blank` CSS pseudo-class

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
:blank {
  /* ... */
}
html
<textarea></textarea>
css
textarea:blank {
  border: 3px solid red;
}