Skip to content

What am I missing to get the "focus-within" variant to work? #2458

Answered by smetzdev
JLHasson asked this question in Help
Discussion options

You must be logged in to vote

Hey @JLHasson
At least in your reproduction repo, you just forgot to add the particular variants to your variants-object inside tailwind.config.js:

variants: {
    borderColor: ['responsive', 'hover', 'focus', 'focus-within'],
}

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by simonswiss
Comment options

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

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
Converted from issue

This discussion was converted from issue #2458 on September 29, 2020 03:09.