MDN self-hosted library · e01.org

`-moz-user-focus` CSS property

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

css
/* Keyword values */
-moz-user-focus: none;
-moz-user-focus: normal;
-moz-user-focus: ignore;

/* Global values */
-moz-user-focus: inherit;
-moz-user-focus: initial;
-moz-user-focus: unset;
html
<input class="ignored" value="The user cannot focus on this element." />
css
.ignored {
  -moz-user-focus: ignore;
}