Firefox Ver 29 css hack @ -moz-document url-prefix()不工作 [英] Firefox Ver 29 css hack @-moz-document url-prefix() not working

查看:108
本文介绍了Firefox Ver 29 css hack @ -moz-document url-prefix()不工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用这个firefox css目标:

I used this firefox css target:

@-moz-document url-prefix() 

但它不工作,除非我把!important

but it doesnt work unless i put an !important to it.

有其他方法吗?感谢

推荐答案

这种情况很可能是因为您有一个更具体的选择器覆盖它。尝试在Firefox开发工具的计算选项卡中搜索属性。

This case is likely because you have a more specific selector that is overriding it. Try searching for the property in the 'Computed' tab of the Firefox dev tools.

这篇关于Firefox Ver 29 css hack @ -moz-document url-prefix()不工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆