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

Bruno Racineux bruno at hexanet.net
Tue Nov 19 22:38:46 PST 2013



On 11/19/13 4:17 PM, "Laurent Perez" <l.laurent.p at 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.





More information about the whatwg mailing list