diff --git a/examples/demo-02.html b/examples/demo-02.html index 00fa5beb..17ed1ae6 100644 --- a/examples/demo-02.html +++ b/examples/demo-02.html @@ -25,8 +25,8 @@

The picture element

<picture>
   <source srcset="../examples/images/extralarge.jpg" media="(min-width: 1000px)">
-  <source srcset="../examples/images/large.jpg" media="(min-width: 800px)">
-  <img srcset="../examples/images/medium.jpg" alt="…">
+  <source srcset="../examples/images/art-large.jpg" media="(min-width: 600px)">
+  <img srcset="../examples/images/art-medium.jpg" alt="…">
 </picture>

Supporting Picture in Internet Explorer 9

@@ -35,9 +35,9 @@

Supporting Picture in Internet Explorer 9

<picture>
   <!--[if IE 9]><video style="display: none;"><![endif]-->
   <source srcset="../examples/images/extralarge.jpg" media="(min-width: 1000px)">
-  <source srcset="../examples/images/large.jpg" media="(min-width: 800px)">
+  <source srcset="../examples/images/art-large.jpg" media="(min-width: 600px)">
   <!--[if IE 9]></video><![endif]-->
-  <img srcset="../examples/images/medium.jpg" alt="…">
+  <img srcset="../examples/images/art-medium.jpg" alt="…">
 </picture>

Here's how that renders in the browser. Feel free to resize to see it change.

@@ -45,9 +45,9 @@

Supporting Picture in Internet Explorer 9

- + - A giant stone face at The Bayon temple in Angkor Thom, Cambodia + A giant stone face at The Bayon temple in Angkor Thom, Cambodia diff --git a/examples/images/art-large.jpg b/examples/images/art-large.jpg new file mode 100644 index 00000000..99d72cd2 Binary files /dev/null and b/examples/images/art-large.jpg differ diff --git a/examples/images/art-medium.jpg b/examples/images/art-medium.jpg new file mode 100644 index 00000000..f17b7293 Binary files /dev/null and b/examples/images/art-medium.jpg differ diff --git a/examples/images/art-small.jpg b/examples/images/art-small.jpg new file mode 100644 index 00000000..edee676e Binary files /dev/null and b/examples/images/art-small.jpg differ diff --git a/index.html b/index.html index 36e6f934..cffc91bd 100644 --- a/index.html +++ b/index.html @@ -149,17 +149,17 @@

Using the `picture` element

<picture>
   <source srcset="examples/images/extralarge.jpg" media="(min-width: 1000px)">
-  <source srcset="examples/images/large.jpg" media="(min-width: 800px)">
-  <img srcset="examples/images/medium.jpg" alt="…">
+  <source srcset="examples/images/art-large.jpg" media="(min-width: 800px)">
+  <img srcset="examples/images/art-medium.jpg" alt="…">
 </picture>

Here's how that renders at your current viewport size:

- - - - A giant stone face at The Bayon temple in Angkor Thom, Cambodia - + + + + A giant stone face at The Bayon temple in Angkor Thom, Cambodia + Standalone picture demo