mozilla特定css [英] mozilla specific css

查看:95
本文介绍了mozilla特定css的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


可能重复:

仅定位具有CSS的Firefox

具体是因为他们的 min-width / 盒大小错误。

I need to target firefox specifically because of their min-width / box-sizing bug.

所以我有1个正常 min-width ,但是对于mozilla,我想要一个不同的 min-width

So I have 1 normal min-width, but for mozilla I want a different min-width.

有没有纯CSS / HTML解决方案?

Is there any pure CSS/HTML solution available?

感谢

推荐答案

您可以使用以下内容(根据我的理解)定位Firefox的所有版本,而不是其他内容:

You can use the following to target (as far as I understand it) all versions of Firefox, and nothing else:

@-moz-document url-prefix() {
    /* firefox-only css goes here */
}

这篇关于mozilla特定css的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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