Replies: 2 comments 4 replies
-
The |
Beta Was this translation helpful? Give feedback.
4 replies
-
Same issue here |
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
-
HI there, I have followed the tutorial on this page to config tailwind to go for desktop-first approach
https://tailwindcss.com/docs/screens
my config file is:
I am setting max for multiple breakpoints, when I try to add
max-w-screen-xl
in the CSS.class { @apply mx-auto max-w-screen-xl }
I get this message: The
max-w-screen-xl
class does not exist. Ifmax-w-screen-xl
is a custom class, make sure it is defined within a@layer
directive.However, if I removed max from the config file I get no error and it works well.
How can I resolve this issue ?
Thank you
Tailwind Play: https://play.tailwindcss.com/eYgfJfxmUV?file=config
Beta Was this translation helpful? Give feedback.
All reactions