Edit in GitHubLog an issue


Since: UXP 3, PS 22.0.0

Matches when the selected element is active. An element is considered to be active when the user is actively clicking on the element.

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


Copied to your clipboard
1p:active {
2 background-color: yellow;

Quirks and Exceptions#

  • An element that is being right-clicked is considered "active".
  • Double-clicking an element will cause it to be unable to be considered "active" until the double-click detection timer expires.
  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.