W3C home > Mailing lists > Public > www-style@w3.org > December 2016

[css-round-display][media-queries] Media query polygons

From: Shane Hudson <Shane@shanehudson.net>
Date: Fri, 9 Dec 2016 11:17:45 +0000
Message-ID: <CANYFvNMSBBwxjua248GdCm=VOTa=6KvALGpdJ3df-eK9J1cRmg@mail.gmail.com>
To: www-style list <www-style@w3.org>
Hi,

I was reading the spec for CSS Round Display and saw the note about how to
detect different shape screens. I'm not aware of the technical limitations
for media queries so ignore me if I'm talking nonsense.

Currently the spec uses (device-radius: 50%) which is probably going to be
the most common use-case. I was wondering if, to keep it simple but still
powerful, the other shapes could be queried by using the same syntax as
clip-path? That would allow it to be as simple or complex as required, and
for some use-cases the same shape could be used elsewhere with ease.

Of course, I may be going over old ground but thought it might be worth
dropping a note.

Cheers,
Shane
Received on Friday, 9 December 2016 11:19:00 UTC

This archive was generated by hypermail 2.3.1 : Friday, 9 December 2016 11:19:01 UTC