Step 1
Open Chrome DevTools
- For macOS:
- Option + ⌘(command) + J
- For Windows:
- SHIFT + CTRL + J
- For both:
- right click and click “Inspect”
Step 2
Click on the “Element Selector” tool, and click on any element you want to inspect.
![A red arrow pointing to the element selector tool in chrome devtools.](https://d33wubrfki0l68.cloudfront.net/2c32b431e2946ac4278a67b4d921af88549fd94e/d623a/images/element-selector-tool.png)
![Hovering over an element after clicking on the element selector tool](https://d33wubrfki0l68.cloudfront.net/607451bc0c6b800d88609cbe0f23ee4d49f4c240/244c7/images/hover-over-element.png)
Step 3
Under the Styles tab click on ":hov". It's also called the "Toggle Element State" button.
![A red arrow pointing to the toggle element state button. Visually, it looks like :hov.](https://d33wubrfki0l68.cloudfront.net/af563864a643443f207ad520122b33554def8eae/0de70/images/toggle-element-state.png)
This will open up a drown down menu where you can select every different interactive states an HTML element can have.
![A toggle menu with different element interactive states. :active, :focus, :visited, :hover, etc.](https://d33wubrfki0l68.cloudfront.net/269ed891a051f28becd9a18e0a85d034fbfcd039/4e49d/images/hov-dropdown-menu.png)
![An elements hover state CSS showed in the style panel](https://d33wubrfki0l68.cloudfront.net/7a00d13b272989364d79abfa9f43134bf92d26b9/6864b/images/hover-in-css.png)
Wrapping up
Easy! Now you can toggle any of these interactive states on and off.