Skip to content

Nested pseudo selector syntax #121

@paulyoung

Description

@paulyoung

Using 1.0.0.rc1

Syntax error:

i {
  &:first-child {
    margin-right: == [base] * 2;
  }

  &:last-child {
    margin-left: == [base] * 2;
  }
}

Syntax error:

i:first-child {
  margin-right: == [base] * 2;
}

i:last-child {
  margin-left: == [base] * 2;
}

Works as expected:

i:first-child[margin-right] == [base] * 2;
i:last-child[margin-left] == [base] * 2;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions