Skip to content

:nth-child(2n) selector results in parse error #344

Closed
@eritbh

Description

@eritbh

Possibly related to #342?

:nth-child(2n) {
  color: red;
}

Input screenshot
Result screenshot

As a workaround, this code validates:

:nth-child(2n+0) {
  color: red;
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions