Re: Element Query and Selector Media Query Types

On Mon, 27 Oct 2014 17:45:46 +0200, Attiks <attiks@gmail.com> wrote:

> Simon,
>
> Yes, I meant vw
>
> You're right adding (min-width: 1060px) 424px will solve my problem, but  
> it
> is not really easy. I expected it to work without out, and I guess most
> people will. Thank god element queries are on the way ;-)

I'm not sure element queries will help for sizes. Since element queries  
inherently need to know the layout, they can't be evaluated by the time  
<img> wants to fetch a resource (i.e. potentially before CSS has loaded).  
If we're OK with deferring the load of the image (with lazyload or so),  
sizes would not be needed at all.

-- 
Simon Pieters
Opera Software

Received on Monday, 27 October 2014 15:55:43 UTC