Skip to content

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

@olets

Description

@olets

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.

Metadata

Metadata

Assignees

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