开发者

css3 mediaqueries - what browsers need the js-file? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 7 years ago.

Improve this question

hey guys, I'm browsing with chrome and so spoiled with native css mediaqueries support. However I want all browsers to work with mediaquer开发者_如何学Pythonies... so I'm using

<script src="/js/css3-mediaqueries.js" type="text/javascript" charset="UTF-8"></script>

Since this file has a rather large filesize I wonder if I can use conditional tags to include this file.

like …

<!--[if lt IE 9]>
<script src="/js/css3-mediaqueries.js" type="text/javascript" charset="UTF-8"></script>
<![endif]-->

Do I have to consider any other important browser that do not support media queries? How about mobile android browsers etc. I know Safari, Firefox and Chrome support it.


Check out this website. It will give you a list of browsers that support Media Queries.

http://caniuse.com/#search=CSS3%20Media%20Queries

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜