除了IE之外的其他浏览器的CSS条件注释? [英] CSS conditional comments for other Browsers except IE?

查看:151
本文介绍了除了IE之外的其他浏览器的CSS条件注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我知道,条件注释只支持不同版本的IE。



Likeways,我们可以为其他浏览器提供条件注释。 >

如果是,如何?

解决方案

查看 CSS浏览器选择器插件。我在我的网站上使用它,你基本上只是写CSS和告诉你想要它的目标浏览器。我在我的网站上使用它,它的工作伟大!



希望它有帮助。


So far I know, the conditional comments are only supported for different Versions of IE.

Likeways, can we provide conditional comments for other browsers too.

If Yes, How? If no, what could be the best alternative?

解决方案

Check out the CSS Browser Selector plugin. I use it on my site, you basically just write the CSS and tell which browser you want it to target. I use it on my site and it works great!

Hope it helps.

这篇关于除了IE之外的其他浏览器的CSS条件注释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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