本文介绍了如何用firebug检查CSS伪类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到一个不情愿的 a:hover css风格,我不能覆盖。



我试图检查Firebug中的元素,但我不明白为什么它不工作。我甚至不知道如何正确地检查 a:hover css在Firebug事件。



我看过:

Hover Inspection in Firebug

但我还没有想出如何重现这里提到的步骤。



还有:
伪幻影



如何使用Firebug检查/调试类似:hover 的CSS伪类?

解决方案

这很容易。只需选择要检查的元素。然后,从右侧的面板中,单击样式菜单项。您可以选择伪类:hover



EDIT b
$ b

这里有一个图片:


I am struggling with a reluctant a:hover css style which I cannot override.

I tried to inspect the element in Firebug, but I cannot see why it won't work. I don't even see how to properly inspect a:hover css event in Firebug.

I have seen:
Hover Inspection in Firebug http://blog.borngeek.com/2010/04/16/hover-inspection-in-firebug/
but I have not figured out how to reproduce the steps mentioned there.

Also:Pseudo-Phantoms http://meyerweb.com/eric/thoughts/2009/11/03/pseudo-phantoms/

How do I inspect/debug CSS pseudo classes like :hover with Firebug?

解决方案

It's pretty easy. Just select the element you want to inspect. And then, from the panel on the right side, click on the Style menu item. There you can select the pseudo class :hover

EDIT

Here's an image :

这篇关于如何用firebug检查CSS伪类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 05:44