W3C home > Mailing lists > Public > public-respimg@w3.org > December 2012

Re: [public-respimg] <none>

From: Kornel <kornel@geekhood.net>
Date: Sun, 30 Dec 2012 11:45:53 +0000
Message-Id: <94A3FD7D-4BC8-4190-A6D7-9AE7E959F8AE@geekhood.net>
To: Andy Davies <dajdavies@gmail.com>, public-respimg@w3.org
On 29 gru 2012, at 23:13, Andy Davies <dajdavies@gmail.com> wrote:

> I'm only following a distance but I'm wondering...
> 
> How does <picture> cope with a scenario where you want an image to be displayed at certain viewport sizes but not at others?

Perhaps it's not necessary to add any features for this, as it can be achieved with:

@media all and (some viewport) {
  img, picture {display:none}
}

-- 
regards, Kornel
Received on Sunday, 30 December 2012 11:46:25 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 30 December 2012 11:46:25 GMT