-
What version of Tailwind CSS are you using? 4.1.14 What build tool (or framework if it abstracts the build tool) are you using? React v18.3.1 What version of Node.js are you using? v22.17 What browser are you using? Chrome What operating system are you using? Ubuntu Describe your issue I am using layer to use tailwindcss in my project. I am trying to set custom breakpoint, so I can use class names as "max-lg:bg-red-500". here is my configuration in my App.scss :
in the DOM, the class shows this :
but it should be "min-width: 480px". Am I doing it wrong ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You seem to actually be using Tailwind v3 in your project. This can be identified by the Hence, to configure the breakpoints in v3, consider consulting the v3 documentation. |
Beta Was this translation helpful? Give feedback.
You seem to actually be using Tailwind v3 in your project. This can be identified by the
--tw-bg-opacity
usage which does not exist in v4.Hence, to configure the breakpoints in v3, consider consulting the v3 documentation.