W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2017

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

From: Andres Galante via GitHub <sysbot+gh@w3.org>
Date: Sun, 09 Apr 2017 12:56:29 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-220469441-1491742588-sysbot+gh@w3.org>
andresgalante has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-media-queries] Nesting Media Queries ==
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:11 UTC