-
I'm using @nuxtjs/tailwindcss which is using tailwindcss 1.9.6. I've tried moving Is this because some feature is not in 1.9.6 or did I do something wrong? index.vue
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, You could use regular css to do that /* Your code */
.btn-red:hover {
background-color: theme("colors.red.400"); /* using the theme helper */
} AFAIK <a class="btn hover:btn-red mt-3">Text here</a> I made a Tailwind playground project so you can see if that fits your needs. |
Beta Was this translation helpful? Give feedback.
Hello,
You could use regular css to do that
AFAIK
@variant hover
only works if you add the hover prefix, so in your caseI made a Tailwind playground project so you can see if that fits your needs.