Edit in GitHubLog an issue

:disabled

Since UXP v3.0

Matches when the selected element is disabled.

See: https://developer.mozilla.org/en-US/docs/Web/CSS/:disabled

Example:

Copied to your clipboard
1input:disabled {
2 border: 1px solid blue;
3}

Quirks and Exceptions

  • Only works for <input>s. Does not work for Spectrum UXP components. For Spectrum UXP checkboxes, use an attribute selector (e.g., [disabled]).
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.