Skip to content

Can't generate hover variant for padding #2876

Answered by simonswiss
ngocquyhoang asked this question in Help
Discussion options

You must be logged in to vote

Hello! 👋

What version of Tailwind CSS are you using?

The way you extend the padding plugin with variants.extend.padding is correct.

Here's a Tailwind Play showing it working on hover:

https://play.tailwindcss.com/aWFzGUc7rH?file=config

Replies: 4 comments 2 replies

Comment options

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

Comment options

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

Answer selected by ngocquyhoang
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants