W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2011

[whatwg] add html-attribute for "responsive images"

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 30 Aug 2011 16:21:55 +0200
Message-ID: <op.v0056two64w2qv@annevk-macbookpro.local>
On Wed, 24 Aug 2011 10:49:24 +0200, Anselm Hannemann - Novolo  
Designagentur <anselm at novolo.de> wrote:
> Tried several other ways, too, (you can see in versions) but this seems  
> to be the best. What do you think about providing a way to use  
> responsive media through media-queries? For now there are only some  
> JS-Cookie solutions which are not a good approach and are very  
> unflexible.

It's too much complexity for a niche problem. Better to just use a  
high-resolution image and downscale it using the height/width attributes.

See http://www.webkit.org/blog/55/high-dpi-web-sites/ for some advice.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Tuesday, 30 August 2011 07:21:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:35 UTC