Not able to use @layer in my Vite + React.js project #13689
Unanswered
Ashish-0704
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is my index.css file
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer components {
.myContainer{
@apply container px-40 py-16 mx-auto
}
}
This is a div in my component which uses this class 'myContainer'
Beta Was this translation helpful? Give feedback.
All reactions