Edit in GitHubLog an issue

:enabled

Since UXP v3.0

Matches when the selected element is enabled.

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

Example:

Copied to your clipboard
input:enabled {
border: 1px solid blue;
}

Quirks and Exceptions

  • Only works for <input>s. Does not work for Spectrum UXP components.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2024 Adobe. All rights reserved.