O'Reilly logo

Responsive Web Design with HTML5 and CSS3 by Ben Frain

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

Summary

In this chapter, we've considered the fundamental differences between progressive enhancement and graceful degradation. We've then used a polyfill to make old IE understand our media queries so that our design responds there too. Finally, we used Modernizr to conditionally load CSS and JavaScript files based upon any number of feature tests, thereby allowing us to serve up polyfills and additional or alternate styles only when a browser lacks the requisite features. Finally, we've taken a sneak peek at the technologies that are becoming commonplace in the immediate future and how we can use CSS3 to serve yet further enhancements for the devices that support them.

At this point, your humble author believes (and hopes) he has related all ...

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