@apply z-0 not found by gulp-postcss #1769
Replies: 3 comments 2 replies
-
Can you create a project that reproduces the issue? |
Beta Was this translation helpful? Give feedback.
-
Submitted a PR that fixes it for you: https://github.com/satyakresna/accessible-dialog/pull/1 The problem is you were overriding all of the z-index values, you need to use |
Beta Was this translation helpful? Give feedback.
-
Hi @adamwathan, just feedback. In tailwindcss docs about customizing z-index value section: https://tailwindcss.com/docs/z-index/#customizing it doesn't give me (in my opinion) clear explanation about how to I think that's why I got the problem z-0 doesn't work. Next time, I will try to read the docs more carefully. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hi, when I use
@apply z-0
in my class (css file), I got error message from gulp-postcss thatz-0
not found as below:This is configuration of gulp-postcss in gulpfile.js:
By default,
postcss()
will read configuration inpostcss.config.js
. Here's the configuration:For temporary solution, instead of implement
@apply z-0
in my css file, I just putz-0
in inline html tag like this:Is that anyone face the same problem?
Beta Was this translation helpful? Give feedback.
All reactions