Skip to content
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

no css output for inline classes which specify an attribute value in an arbitrary variant #8660

Closed
olets opened this issue Jun 17, 2022 · 1 comment · Fixed by #8687
Closed
Assignees

Comments

@olets
Copy link

olets commented Jun 17, 2022

What version of Tailwind CSS are you using?

3.1.3

What build tool (or framework if it abstracts the build tool) are you using?

https://play.tailwindcss.com

What version of Node.js are you using?

https://play.tailwindcss.com's

What browser are you using?

Chrome 102.0.5005.115

What operating system are you using?

macOS 12.4

Reproduction URL

https://play.tailwindcss.com/zYyWNdDUB4

Describe your issue

Arbitrary variants don't support specifying attribute values. Using the form [&[my-attribute]]: generates the expected CSS. Adding a value —[&[my-attribute='val']]: or [&[my-attribute="val"]]:— results in no CSS being generated for that class.

@brandonmcconnell
Copy link
Contributor

Tailwind v.1.3.4 is gonna be a great release 🎉

Thanks for getting this one added @thecrypticace 👏🏼

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

Successfully merging a pull request may close this issue.

3 participants