diff --git a/bower.json b/bower.json index fb4fbfc..4dfc7d0 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "picturePolyfill", - "version": "1.0.0", + "version": "2.0.0", "main": "picturePolyfill.js", "ignore": [ ".idea", diff --git a/index.html b/index.html index e35582b..ad733f6 100644 --- a/index.html +++ b/index.html @@ -8,7 +8,7 @@ body { margin: 0; padding: 0; text-align: center; } .intro { padding: 0 16px; } .outro { padding: 1px 16px; clear: both; } - .element a, .element span, .element img { display: block; } + .element a, .element span, .element img { display: block; } img { width: 100%; height: auto; border: 0; } .element h2 { padding: 0 16px; } .element:hover h2 { text-decoration: underline; } @@ -21,45 +21,42 @@
The following link contains two responsive images created using a <span>
element, inline JSON (instead of <source>
markup), and the picturePolyfill script.
The following link contains two responsive images created using a real <picture>
element, and the picturePolyfill script.