Skip to content

Animation disable for part of class #3276

Answered by simonswiss
StevenVerheyen asked this question in Help

You must be logged in to vote

Hey!

I think you could apply outline-none instead of focus:outline-none, to achieve this.

Also, from the code you shared, you need the class transition instead of transform for it to work properly.

Finally, you can achieve the orange border as the focus ring by doing focus:ring-2 focus:ring-yellow-600, although there is nothing wrong with using a border colour on focus.

Here's a quick Tailwind Play example: https://play.tailwindcss.com/hefkY1iTqD

Replies: 1 comment 1 reply

You must be logged in to vote
1 reply
@StevenVerheyen

Answer selected by StevenVerheyen
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