-
Hi all, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If you are making a new variant, you can do: @custom-variant foo {
@variant md {
@media (hover: hover) {
@slot;
}
}
} <div class="foo:text-red-500"> |
Beta Was this translation helpful? Give feedback.
-
Just a related: hover OR focus in Tailwind CSS and TailwindCSS @screen how to use |
Beta Was this translation helpful? Give feedback.
You could split it up like: