[v4] Modifiers on custom classes #14868
-
Hey all, In Tailwind V4, if I have some custom classes defined like this...
How can I have tailwind pick these up for modifiers such as I've tried wrapping these in an Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey! In v4 you'll want to define those classes using |
Beta Was this translation helpful? Give feedback.
-
"I'm working on a colorful section and want to add a rainbow gradient background in Tailwind. Do you know how to extend the backgroundImage in the config for that?" |
Beta Was this translation helpful? Give feedback.
Hey! In v4 you'll want to define those classes using
@utility
:#14044