j2css / j2c

CSS in JS library, tiny yet featureful

Home Page:https://j2c.py.gy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should the & operator perform a cartesian product?

pygy opened this issue · comments

With SASS and LESS (but not Stylus),

p, a {
    & + & {
        color: red;
    }
}

Expands to

p + p, a + p, p + a, a + a {
  color: red;
}

It may be nice to emulate that behavior, for consistency.

Not sure it should, but it now does in the v1_preview branch.