Skip to content

.first .last .odd and .even pseudo-class-variants not working #2410

@devinfd

Description

@devinfd

Describe the problem:

I will admit that I am new to tailwind so perhaps there is something that I am missing.

It seems that the .first .last .odd and .even pseudo-class-variants are not working or available anymore? Looking at my compiled (not using purgeCss) tailwind css file, none of the classes are there. Additionally, they don't appear to be in the CDN file as well. https://unpkg.com/tailwindcss@1.8.10/dist/tailwind.min.css

Were these variants removed intentionally? Should the docs be updated? https://tailwindcss.com/docs/pseudo-class-variants#first-child

Thanks!

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