Skip to content

Modifiers do not work with static classes #18146

Answered by wongjn
simjnd asked this question in Help
Discussion options

You must be logged in to vote

You'd need to define the class name rule via @utility: https://play.tailwindcss.com/dZr2prHxAm?file=css

Replies: 1 comment 1 reply

Comment options

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

Answer selected by simjnd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #18145 on May 25, 2025 17:03.