O'Reilly logo

Learning Modernizr by Adam Watson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Downloading the Modernizr library

Now that the head of our document contains most of the important bits we come to the Modernizr library loading. I've coded this as though it is in the root of the site folder for now. Of course we haven't actually downloaded it yet so what better time than now to do that. I'm going to go to www.modernizr.com and download the full, uncompressed development version in its full glory, which will include more than 40 of the library's feature tests, as well as nicely documented code. Again, save this to the same folder that holds the HTML file we just made. The following screenshot gives us a peek of the website where we can download Modernizr:

There are a couple of other options available to you if you wanted to load ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required