[csswg-drafts] [css-media-queries] Nesting Media Queries

andresgalante has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-media-queries] Nesting Media Queries ==
Hi,
This is related to: https://www.w3.org/TR/mediaqueries-4/

I just found myself in a situation where I want to nest media queries. For example:
```
@media (min-width: 50em) {
  ...
  @media (orientation: landscape) { ... }
}
```
I know I can use `and` and on a new declaration, but nesting them makes it so much nicer IMO.

Is this something that others think it's useful or I am just pushing it?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1191 using your GitHub account

Received on Sunday, 9 April 2017 12:56:39 UTC