weilou weilou - 1 month ago 7
CSS Question

How can I detect via JavaScript if browser supports CSS3 media queries and CSS3 gradient?

How can I detect via JavaScript if browser supports CSS3 media queries?

How can I detect via JavaScript if browser supports CSS3 gradient?

Thank you.

Answer

Have a look at http://modernizr.com/, it's a great library for featuredetection using javascript.

Comments