What is Modernizr?
MODERNIZR is a JavaScript library that detects support for browser features. Currently, by verifying the browser's handling of a series of tests, MODERNIZR can detect 18 CSS3 functions and more than 40 functions on HTML5. It is more reliable than the traditional way of detecting browser names (browser sniffing). The complete set of tests takes only a few microseconds. In addition, the MODERNIZR website detects the elements you are interested in by customizing the script to achieve efficiency optimization.
Traditional browsers are not currently completely superseded, making it difficult to embed the latest CSS3 or HTML5 features into your site. MODERNIZR was created to solve this problem, as an open source JavaScript library, MODERNIZR detects the browser's support for CSS3 or HTML5 functionality. Instead of trying to add features not supported by older browsers, Modernizr lets you modify the page design by creating an optional style configuration. It can also simulate features that are not supported by the old version browser by loading custom scripts.
MODERNIZR is easy to use, but not omnipotent. Successful use of MODERNIZR is largely dependent on your CSS and JavaScript skills. With this guide, you can learn how to set optional styles for browsers that don't support multiple columns or projections. In addition, you can learn how to get older browsers to validate forms that use the latest HTML5 requirements (required) attributes, and to selectively load script files based on browser functionality.
Download MODERNIZR
visit the Moderniz website with the address http://www.modernizr.com/
Detects if the browser supports HTML5/CSS3 artifact Modernizr