mozilla specific css [duplicate]

巧了我就是萌 提交于 2019-12-04 13:21:49

问题


Possible Duplicate:
Targeting only Firefox with CSS

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

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

Is there any pure CSS/HTML solution available?

Thanks


回答1:


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 */
}


来源:https://stackoverflow.com/questions/7490150/mozilla-specific-css

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!