Re: [Media Queries] aspect ratio

On 22.08.2007, at 00:40, Spartanicus wrote:

> Why would you need media queries to do this?
> I can see the need for a viewport width media query for that use  
> case, I
> don't see any purpose for an aspect-ratio media query.

I should have mentioned, that all images are individual SVG objects.  
My MQ look something like this:

/* landscape: 6 columns */
@media all and (min-device-aspect-ratio: 1/1){

/* portrait: 4 columns */
@media all and (max-device-aspect-ratio: 1/1){

The desired criteria is the aspect ratio of the rendering area. I  
really don't want to use a width based query here.


Received on Wednesday, 22 August 2007 09:20:37 UTC