Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 16 lines (9 sloc) 0.847 kb
77defd7 all in.
scottjehl authored
1 # Picturefill
2
3 A crude polyfill for proposed behavior of the picture element, which does not yet exist, but should. :)
4
5 * Author: Scott Jehl (c) 2012
6 * License: MIT/GPLv2
7 * Notes: For active discussion of the picture element, see [http://www.w3.org/community/respimg/](http://www.w3.org/community/respimg/). While this code does work, it is intended to be used only for example purposes until either:
8
9 A) A W3C Candidate Recommendation for <picture> is released
10
11 B) A major browser implements <picture>
12
13 Demo URL: [http://scottjehl.github.com/picturefill/](http://scottjehl.github.com/picturefill/)
14
15 Note: The demo only polyfills picture support for browsers that support CSS3 media queries, but it includes the [matchMedia polyfill](https://github.com/paulirish/matchMedia.js/) for media-query-supporting browsers that don't have matchMedia.
Something went wrong with that request. Please try again.