W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

[csswg-drafts] [css-nesting] no explicit conjoined examples (#3748)

From: Daniel Tonon via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Mar 2019 23:24:56 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-422997836-1553037895-sysbot+gh@w3.org>
Dan503 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-nesting] no explicit conjoined examples ==
CSS nesting spec

There is a very common method of writing BEM classes among FE developers that looks like this when writing in SCSS:

.block {
  &__element {
    // .block__element { ... }

The spec currently doesn't seem to explicitly allow for this style of nesting. Providing an example to mention this method is ok is all that would be needed.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3748 using your GitHub account
Received on Tuesday, 19 March 2019 23:24:57 UTC

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