:active

Term side of the Card
Topic: Pseudo Classes
Unit title: :active
Categories: Pseudo-class
Explanation side of the Card

Explanation: The pseudo-class that applies styles to an element when it's being clicked or activated by the user. This is often used to create visual feedback, like changing the color of a button when it's pressed.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: