You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 6, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: examples/demo-01.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ <h3>An img with "srcset" and sizes" attributes:</h3>
27
27
<p>Here's how that renders in the browser. Feel free to resize to see it change.</p>
28
28
29
29
<imgsizes="(min-width: 40em) 80vw, 100vw"
30
-
srcset="../examples/images/small.jpg 375w, ../examples/images/large.jpg 480w, ../examples/images/extralarge.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
30
+
srcset="../examples/images/medium.jpg 375w, ../examples/images/large.jpg 480w, ../examples/images/extralarge.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
Copy file name to clipboardExpand all lines: examples/demo-04.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ <h3 id="types"><code>media</code> example with one webp source qualified with a
24
24
<p>
25
25
Note: Picturefill can support SVG, WebP, JPEG-XR, JPEG-2000 and APNG types on any source element, and will disregard a <code>source</code> if its type is not supported in a particular environment.
26
26
<strong>This option will only work if picturefill is built by setting the <code>support-types</code> grunt task correctly when building picturefill.</strong>
27
-
For example, to support all these formats, build picturefill with this grunt task:</strong></p>
27
+
For example, to support all these formats, build picturefill with this grunt task:</p>
srcset="examples/images/medium.jpg 375w, examples/images/medium.jpg 480w, examples/images/large.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
107
+
srcset="examples/images/medium.jpg 375w, examples/images/large.jpg 480w, examples/images/extralarge.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
108
108
</code></pre>
109
109
110
110
<p>Here's how that renders in the browser. Feel free to resize to see it change.</p>
111
111
112
112
<imgsizes="(min-width: 40em) 80vw, 100vw"
113
-
srcset="examples/images/medium.jpg 375w, examples/images/medium.jpg 480w, examples/images/large.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
113
+
srcset="examples/images/medium.jpg 375w, examples/images/large.jpg 480w, examples/images/extralarge.jpg 768w" alt="A giant stone face at The Bayon temple in Angkor Thom, Cambodia">
@@ -179,7 +179,8 @@ <h3 id="types"><code>media</code> example with one webp source qualified with a
179
179
<p>
180
180
Note: Picturefill can support SVG, WebP, JPEG-XR, JPEG-2000 and APNG types on any source element, and will disregard a <code>source</code> if its type is not supported in a particular environment.
181
181
<strong>This option will only work if picturefill is built by setting the <code>support-types</code> grunt task correctly when building picturefill.</strong>
182
-
For example, to support all these formats, build picturefill with this grunt task:</strong></p>
182
+
For example, to support all these formats, build picturefill with this grunt task:
0 commit comments