Modernizr: cross browser HTML5

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. Say you want to do if-statements in your CSS for the availability of border-radius, with Modernizr you can accomplish that.

Modernizr is a small and simple JavaScript library that helps you take advantage of emerging web technologies (CSS3, HTML 5) while still maintaining a fine level of control over older browsers that may not yet support these new technologies. Modernizr uses feature detection to test the current browser against upcoming features.

Leave a Reply