Edit in GitHubLog an issue


Since: UXP 3, PS 22.0.0

Matches when the selected element is focused. An element is considered to be active when the element has keyboard focus.

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


Copied to your clipboard
1input:focus {
2 border: 1px solid red;

Quirks and Exceptions#

  • A typically non-interactive element must have a positive tab index in order to be matched by this rule.
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.