Skip to content
This repository was archived by the owner on Dec 28, 2021. It is now read-only.
This repository was archived by the owner on Dec 28, 2021. It is now read-only.

[doc] @nest with several rules/selectors #22

@brillout

Description

@brillout

From reading the doc I was expecting following to work

div {
  @nest .c1 &,
  @nest .c2 & {
    color: red;
  }
}

but the correct usage is

div {
  @nest
  .c1 &,
  .c2 & {
    color: red;
  }
}

A note or example about that would have saved me 30mn.

Thanks for postcss-nesting btw, I really like it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions