:-moz-user-disabled

Non-standard: This feature is not standardized. We do not recommend using non-standard features in production, as they have limited browser support, and may change or be removed. However, they can be a suitable alternative in specific cases where no standard option exists.

The :-moz-user-disabled CSS pseudo-class is a Mozilla extension that matches elements representing images that were not loaded because images have been entirely disabled by the user's preferences.

Note: This selector is mainly intended to be used by theme developers.

Syntax

css
:-moz-user-disabled {
  /* ... */
}

Examples

Styling user-disabled elements

css
:-moz-user-disabled {
  background-color: lightgray;
  padding: 8px;
}

Specifications

Not part of any standard.

See also