@screen directive in v4 #15960
Unanswered
nielsvh2103
asked this question in
Help
Replies: 1 comment 3 replies
-
As an aside, Adam Wathan (creator of Tailwind) does seem to advocate avoiding |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Im running into issues with tailwind on postcss where the screen directive no longer works.
I upgraded to v4 with the postcss options (@tailwindcss/postcss)
Now, i checked the docs on v3 and screen() is on there.
https://v3.tailwindcss.com/docs/functions-and-directives#screen
But there are no mentions of it on v4
https://tailwindcss.com/docs/functions-and-directives
On v4 however, its not and its also not in the upgrade guide that its been removed and what else we can use instead of screen() or
@screen
So my question is, what can i use now or what should i change?
Example;
No longer works
Beta Was this translation helpful? Give feedback.
All reactions