Can’t make the #ChromeDevSummit this year? Catch all the content (and more!) on the livestream, or join your peers for a CDS Extended event at a hosted location nearby. To learn more, check out the Chrome Dev Summit 2019 website.

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.