Categories: Development

Inspect a CSS hover element in chrome dev tools

Here is how to view the CSS hover state for an element with the Chrome developer tools and element selector.

Once in Google Chrome and at your webpage, Open the Chrome developer tools by right clicking and selecting “inspect” or by pressing ctrl-shift-i. In the top left of the Dev tools panel is the element selector, circled red in this image:

Chrome dev tools element inspector

Click that and then choose the element you want to see/modify the hover state off.

For this example i selected a report button on the webpage

In the Styles section you will see :hov and .cls at the top right of the column. Click the :hov and then the :hover toggle which will then toggle the selected element into its hover state:

You can now see and modify the hover state for that CSS element.

Share

Recent Posts

Kennington reservoir drained drone images

A drained and empty Kennington reservoir images from a drone in early July 2024. The…

2 years ago

Merrimu Reservoir drone images

Merrimu Reservoir from drone. Click images to view larger.

2 years ago

Early September spring shots

Some early September spring shots from a bushwalk, It is still too early for wildflowers.

3 years ago

Cloning an NVMe to SK Hynix Platinum P41 NVMe

I recently needed to clone over a smaller NVMe to a 2TB SK Hynix Platinum…

3 years ago

Using Laravel’s deleteDirectory to delete folders and their contents

If you ever needed a simple solution in Laravel to delete an entire directory and…

3 years ago

How to allow only 1 user to register in a Laravel application

How to enforce only one user to register or be registered in a Laravel web…

3 years ago