Replies: 2 comments
-
I wish someone had a solution for this all the classes with ! in front of them are broken! |
Beta Was this translation helpful? Give feedback.
-
Although it's an old issue, it still shows up prominently in Google search results for some reason, so:
Which version are you using? It's not entirely clear. v2 seems quite outdated, your config file looks a bit obsolete for v3, and v4 has an entirely different configuration approach. Which version are you using? It's not entirely clear. v2 seems quite outdated, your config file looks a bit obsolete for v3, and v4 has an entirely different configuration approach.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I am pretty new to Tailwind, and I'm liking the DX so far but I haven't been able to code some responsive design because of this bug I keep running into. I'm not sure if I haven't configured something correctly, and let me know if I should open a bug report!
I am using the backwards-compatible version of tailwindcss (
"npm:@tailwindcss/postcss7-compat"
) because of CRA with JIT mode enabled, and[email protected]
to build.I have a component that contains an image that should be hidden at the
md
breakpoint:However the image was not being hidden at the breakpoint. I checked the compiled CSS from Tailwind and saw this:
I noticed that the class generated by
md:w-9
from another component did not have the!
in front of it. When I manually edit the compiled CSS and remove the!
so that the CSS selector is.md\:\hidden
, the breakpoint forhidden
works as expected.Is there some reason the
!
keeps getting added to the selector? Here is mytailwind.config.js
:Beta Was this translation helpful? Give feedback.
All reactions