Can't generate hover variant for padding #2876
-
I'm trying to generate hover variant for
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
if I paste your config in https://play.tailwindcss.com/ the classes get generated fine, I think purgecss is removing them |
Beta Was this translation helpful? Give feedback.
-
Hello! 👋 What version of Tailwind CSS are you using? The way you extend the Here's a Tailwind Play showing it working on hover: |
Beta Was this translation helpful? Give feedback.
-
After I updated to 2.0.1 (from 1.9.6) and added |
Beta Was this translation helpful? Give feedback.
-
After I updated to 2.0.1 (from 1.9.6) and added extend back, it worked like a god. |
Beta Was this translation helpful? Give feedback.
Hello! 👋
What version of Tailwind CSS are you using?
The way you extend the
padding
plugin withvariants.extend.padding
is correct.Here's a Tailwind Play showing it working on hover:
https://play.tailwindcss.com/aWFzGUc7rH?file=config