Skip to content

[&:not(:first-child)] not working #11327

Closed Answered by wongjn
foremtehan asked this question in Help
Discussion options

You must be logged in to vote

Seems to be working fine, the effect can be seen when adding another copy: https://play.tailwindcss.com/wGwx8KxIvA. If it does not work in your project, consider checking:

  • Tailwind has compiled since you added the class.
  • The content file globs sufficiently cover the file that the code appears in.
  • The class name would resolve to a Tailwind class that Tailwind would generate a rule for.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@foremtehan
Comment options

@wongjn
Comment options

wongjn May 31, 2023
Collaborator

Answer selected by foremtehan
Comment options

You must be logged in to vote
1 reply
@wongjn
Comment options

wongjn Feb 12, 2025
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants