school Are you a developer in an agency in the UK, Indonesia or India? Find out more about our free 2 day Progressive Web Apps training .

Trigger a pseudo class on an element

Trigger a pseudo class (like hover) on an element

You can trigger pseudo classes through DevTools, for example:

  • Hover
  • Active
  • Focus
  • Visited

Also note, when you do this, a small orange indicator appears to the left of the node in the DOM tree so you know that its state has changed.