MDN self-hosted library · e01.org
Pseudo-classes / notebook

Pseudo-classes

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

css
/* Any button over which the user's pointer is hovering */
button:hover {
  color: blue;
}