"hidden sm:block" does not work anymore with 4.13. #17623
Answered
by
RobinMalfait
magic-thomas
asked this question in
Help
-
Tailwind css 4.1.3 is used. <div class="hidden sm:block">
This should be seen only on desktop
</div> Always this code worked for me to show the contents on mobile device size. But with tailwindcss 4.1.3 , it does not work for me any more. Is it bug ? Or is something changed ? |
Beta Was this translation helpful? Give feedback.
Answered by
RobinMalfait
Apr 9, 2025
Replies: 1 comment 1 reply
-
There is probably other CSS overriding this behavior. Do you have other CSS loaded with a Example Play: https://play.tailwindcss.com/LCgg5lHsjB |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
magic-thomas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is probably other CSS overriding this behavior. Do you have other CSS loaded with a
.hidden
class by any chance?Example Play: https://play.tailwindcss.com/LCgg5lHsjB