Using Modernizr to test browser support for css calc()
How can I test if a browsers support the CSS3 calc() property using
Modernizr?
I have tried:
if (Modernizr.testProp('cssCalc')) {
console.log('CSS calc() supported');
}
but this only returns "undefined" in the console.
(I am using modernizr-2.6.2.js).
What is the right way to use Modernizr for browser feature detection?
Wednesday, August 21, 2013
Using Modernizr to test browser support for css calc()
Posted on 7:06 AM by Unknown
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment