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
精彩评论