Replies: 2 comments
-
Seems to work in this Tailwind Play which could suggest it is something particular to your project. Consider providing a git repo that reproduces the unexpected behavior. |
Beta Was this translation helpful? Give feedback.
-
Hi.. Sorry, I could not reply earlier. I manged to find the cause of the issue. The issue is happening whenever I am adding another CSS file with E.g., I have another file
If I remove the import and move the content in Is it expected? How do I import the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Tailwind CSS are you using?
v4.0.12
What build tool (or framework if it abstracts the build tool) are you using?
Vite 6.1.0
What version of Node.js are you using?
v20.12.2
What browser are you using?
Chrome, Firefox
What operating system are you using?
macOS
Reproduction URL
NA
Describe your issue
I have defined a custom breakpoint in
index.css
:I am trying to add the following classes on a
div
. I intend to display the menu on the screen larger than 896px and hidden otherwise:However, the
div
does not show up onml
breakpoint. The other classes e.g.ml:text-cyan-500
work, but notml:flex
.On hovering over
ml:flex
, the generated CSS seems to be correct:I tried using
min-[56rem]:flex
and it seems to be working.Do you have any idea what's wrong here? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions