Skip to content

Bug: Validator doesn't recognize purely numeric argument for :nth-child() #342

Closed
@tmb-github

Description

@tmb-github

/*
It doesn't recognize a purely numeric argument for :nth-child(), instead expecting the format 2a+b.
See: https://developer.mozilla.org/en-US/docs/Web/CSS/:nth-child
*/

.header-ul li:nth-child(2) {
padding-top: 1.5rem;
}
Untitled

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions