Sunday, March 13, 2011

Modernizr

What is Modernizr?

Modernizr adds classes to the <html> element which allow you to target specific browser functionality in your stylesheet. You don't actually need to write any Javascript to use it.

Have you ever wanted to do if-statements in your CSS for the availability of cool features like border-radius? Well, with Modernizr you can accomplish just that! The syntax is very intuitive, too

This may be useful dealing with IE6 styling compatibility.

Posted via email from Mocha Brain Freeze

No comments: