开发者

Detect @media queries support in Modernizr 2.0 beta

Does Modernizr 2.0 beta have a way to detect browser support for @media queries?

In Modernizr 1.7 you could test using Modernizr.mq('(min-width)'), but that feature seems to be mi开发者_如何学Pythonssing in the new version. Is there an equavilant?


That was added recently for the 1.8pre builds. Grab the master branch at https://github.com/Modernizr/Modernizr for the mq() method

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜