Skip to content

Custom CSS classes don't support media queries #17366

Closed Answered by wongjn
sleithart asked this question in Help
Discussion options

You must be logged in to vote

You need to register the rule using @utility so that Tailwind "knows" about it: https://play.tailwindcss.com/9H7xLA2t50?file=css

Replies: 1 comment 1 reply

Comment options

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

Answer selected by sleithart
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 #17364 on March 25, 2025 08:59.