How to check if browser supports CSS3 calc () property using Modernizr?
I 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 correct way to use Modernizr to detect browser features?
source share