Re: [whatwg] <imgset> responsive imgs proposition (Re: The src-N proposal)

On 11/19/13 4:17 PM, "Laurent Perez" <l.laurent.p@gmail.com> wrote:

>I'd like to propose the following pseudocode, building upon CSS4 range
>media queries.
>
>@media (3dppx > resolution >= 2dppx),  (min-width: 320px) {
>.artdirection {
>background-image:url(high.png);
> background-position: center;
>background-repeat: no-repeat;
>min-width: 100%;
> }
>}

There are talks on "<" and ">" syntax at the www-style mailing list:
http://lists.w3.org/Archives/Public/www-style/


Also combined with calc() notation.


Search for:
[mediaqueries] Add "<" and ">" syntax?
for the thread

You may also join that list to discuss such CSS related features directly.

Received on Wednesday, 20 November 2013 06:39:14 UTC