Skip to content

optimization for nth-child & nth-of-type #1159

Description

@da0ka

nth-child(1) -> first-child
nth-of-type(1) -> first-of-type
nth-of-type(even) -> nth-of-type(2n)
nth-child(even) -> nth-child(2n)
nth-of-type(2n+1) -> nth-of-type(odd)
nth-child(2n+1) -> nth-child(odd)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions