Skip to content

Make the @ prefix configurable #22

Closed
@skttl

Description

@skttl

What version of @tailwindcss/container-queries are you using?

0.1.1

What version of Node.js are you using?

v18.17.1

What browser are you using?

Edge

What operating system are you using?

Windows

Reproduction repository

https://github.com/tailwindlabs/tailwindcss-container-queries

Describe your issue

When using this plugin in ASP.net razor pages (cshtml / razor), the @ sign is used to input code/variables. This makes it tricky to use as a prefix for classes.

Normally you would escape it using another @, like @@container - but then tailwind won't recognize the clase. Another way is to use @("@container") but that is annoying to write.

Would it be possible to make the prefix configurable, so we could use eg. # or $ instead?

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