(bug): Custom CSS has no intelligent prompts #18302
Unanswered
luckzilong
asked this question in
Help
Replies: 2 comments
-
This is because Tailwind doesn't "know" about this class name. You'd need to explicitly register it with @utility flex-center {
@apply flex items-center justify-center;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
**What version of Tailwind CSS are you using? **
v4.1.8
**What build tool (or framework if it abstracts the build tool) are you using? **
Vite 6.3.5
**What version of Node.js are you using? **
v20.14.0
**What browser are you using? **
Chrome
**What operating system are you using? **
Windows
Reproduction URL
Describe your issue
Use the following in the css file containing @import "tailwindcss" :
or
When I'm on the element tag 'class', it normally has the intelligent prompt of 'tailwindcss', but does not contain 'flex-center'
Beta Was this translation helpful? Give feedback.
All reactions