Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (30 sloc) 1.411 kB
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Picturefill</title>
<script src="external/matchmedia.js"></script>
<script src="picturefill.js"></script>
<style>
body { font-family: sans-serif }
img { max-width: 100% }
</style>
</head>
<body>
<h1>Picturefill: A &lt;picture&gt; element polyfill</h1>
<p>For more info: <a href="http://github.com/scottjehl/picturefill">see project home.</a></p>
<picture alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
<!-- <source src="external/imgs/small.jpg"> -->
<source src="external/imgs/small.jpg">
<!-- <source src="external/imgs/medium.jpg" media="(min-width: 400px)"> -->
<source src="external/imgs/medium.jpg" media="(min-width: 400px)">
<!-- <source src="external/imgs/large.jpg" media="(min-width: 800px)"> -->
<source src="external/imgs/large.jpg" media="(min-width: 800px)">
<!-- <source src="external/imgs/extralarge.jpg" media="(min-width: 1000px)"> -->
<source src="external/imgs/extralarge.jpg" media="(min-width: 1000px)">
<!-- Fallback content for non-JS browsers. Same img src as the initial, unqualified source element. -->
<noscript><img src="external/imgs/small.jpg" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia"></noscript>
</picture>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.