What is Modernizr?
Modernizr is a JavaScript library which is designed to detect HTML5 and CSS3 features in various browsers.
It’s a collection of superfast tests which run as your web page loads, then you can use the results to tailor the experience to the user.
Modernizr tells you what HTML, CSS and JavaScript features the user’s browser has to offer.
Modernizr makes it easy to deliver tiered experiences: make use of the latest and greatest features in browsers which support them, without leaving less fortunate users high and dry.
It used by many popular websites including Twitter, USMagazine, Good.is, About.com, etc.
Video for How to use Modernizr