Skip to content

Tailwindcss Advanced Classes: 1-parentheses removed for (@supports, [@media, nth-of-type, ...) #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
n4j1Br4ch1D opened this issue May 18, 2023 · 0 comments

Comments

@n4j1Br4ch1D
Copy link
Owner

https://tailwindcss.com/docs/hover-focus-and-other-states#supports
#11 #12

      {/* prblm with (*) beign removed */}
      <span class="group-[:nth-of-type(3)_&]:block">9</span>
      <span class="[@supports(display:grid)]:grid">7</span>
      <span class="[@media(any-hover:hover){&:hover}]:opacity-100">12</span>

but should work for

.trythis:nth-child(even) {
    background-color: green;
}
      <span class="trythis">the 3rd</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant