How to Use Chrome Web Inspector to view pseudo class (eg. :hover ) effects?
1,357 views
Skip to first unread message
Richard
unread,
Jun 26, 2011, 10:50:23 AM6/26/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Chrome Developer Tools
Is there a way in which I can inspect an element when it is being
hovered over?
For example I have a css implemented drop down menu button and want to
be able to view the styles that are activated when the element is
hovered over (in the same way that I would inspect an element by
selecting it in the inspector, but allowing me to show what the css
cascade is when the element is being hovered over)
In firebug there is a feature that allows you to choose to view the
':hover' effect once you have selected an element to inspect.
I am sure that there must be a way to do this that some of you have
found since debugging odd hover behaviors must be pretty common.
I was even wondering if there might be a way to programmatically force
a hover event for the specific dom element (a menu button, eg) and
then view the css cascade that kicks into effect?
Many thanks in advance. I searched the forum but couldn't find an
answer yet.
Alexander Pavlov
unread,
Jun 26, 2011, 11:14:50 AM6/26/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message