Re:First draft of HTML img srcset for responsive images
by Kilimanjaro on Tuesday May 15, 2012 @09:22AM
(#3976405)
FTFY
[ Parent
| on HN ]
Re:First draft of HTML img srcset for responsive images
by tubes on Tuesday May 15, 2012 @11:14AM
(#3976918)
Not a good idea. Browsers that do not support imgset would show all three images using that syntax. A new element name like "<set>" would be ignored by them.
Re:First draft of HTML img srcset for responsive images
by Kilimanjaro on Tuesday May 15, 2012 @02:39PM
(#3978051)
CSS to the rescue
imgset img{display:none;}
imgset img:first-child{display:block;}
Same with modern HTML5 tags, modernizer or any other tool would handle that for you.